Module: SteadyState
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/steady_state.rb,
lib/steady_state/version.rb,
lib/steady_state/attribute.rb,
lib/steady_state/attribute/state.rb,
lib/steady_state/attribute/state_machine.rb,
lib/steady_state/attribute/transition_validator.rb
Defined Under Namespace
Modules: Attribute
Constant Summary collapse
- VERSION =
'0.0.1'.freeze
Class Method Summary collapse
Class Method Details
.active_record?(klass) ⇒ Boolean
9 10 11 |
# File 'lib/steady_state.rb', line 9 def self.active_record?(klass) defined?(ActiveRecord::Base) && klass < ActiveRecord::Base end |