Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Core::State
✓ require 'core/state'
Define and manage states for an object.
require 'core/state'
class MyObject
include Core::State
state :active, :inactive
end
obj = MyObject.new
obj.active!
puts obj.active?
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.