Class: Journey::Nodes::Dummy
- Defined in:
- lib/journey/nodes/node.rb
Instance Attribute Summary
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(x = Object.new) ⇒ Dummy
constructor
A new instance of Dummy.
- #literal? ⇒ Boolean
Methods inherited from Literal
Methods inherited from Node
#each, #name, #symbol?, #to_dot, #to_s, #to_sym, #type
Constructor Details
#initialize(x = Object.new) ⇒ Dummy
Returns a new instance of Dummy.
53 54 55 |
# File 'lib/journey/nodes/node.rb', line 53 def initialize x = Object.new super end |
Instance Method Details
#literal? ⇒ Boolean
57 |
# File 'lib/journey/nodes/node.rb', line 57 def literal?; false; end |