Class: Stateoscope::Adapter::Base
- Inherits:
-
Object
- Object
- Stateoscope::Adapter::Base
- Defined in:
- lib/stateoscope/adapter/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#graph ⇒ Object
Returns the value of attribute graph.
-
#klass ⇒ Object
Returns the value of attribute klass.
-
#state_machine_name ⇒ Object
Returns the value of attribute state_machine_name.
Class Method Summary collapse
Instance Method Summary collapse
- #build_graph ⇒ Object
- #full_state_machine_name ⇒ Object
-
#initialize(klass, state_machine_name) ⇒ Base
constructor
A new instance of Base.
Constructor Details
Instance Attribute Details
#graph ⇒ Object
Returns the value of attribute graph.
6 7 8 |
# File 'lib/stateoscope/adapter/base.rb', line 6 def graph @graph end |
#klass ⇒ Object
Returns the value of attribute klass.
6 7 8 |
# File 'lib/stateoscope/adapter/base.rb', line 6 def klass @klass end |
#state_machine_name ⇒ Object
Returns the value of attribute state_machine_name.
6 7 8 |
# File 'lib/stateoscope/adapter/base.rb', line 6 def state_machine_name @state_machine_name end |
Class Method Details
.handle?(_klass, _state_machine_name) ⇒ Boolean
7 8 9 |
# File 'lib/stateoscope/adapter/base.rb', line 7 def self.handle?(_klass, _state_machine_name) fail AbstractMethodError end |
Instance Method Details
#build_graph ⇒ Object
17 18 19 |
# File 'lib/stateoscope/adapter/base.rb', line 17 def build_graph fail AbstractMethodError end |
#full_state_machine_name ⇒ Object
21 22 23 |
# File 'lib/stateoscope/adapter/base.rb', line 21 def full_state_machine_name fail AbstractMethodError end |