Class: Journey::Nodes::Unary

Inherits:
Node
  • Object
show all
Defined in:
lib/journey/nodes/node.rb

Direct Known Subclasses

Group, Star

Instance Attribute Summary

Attributes inherited from Node

#left, #memo

Instance Method Summary collapse

Methods inherited from Node

#each, #initialize, #literal?, #name, #symbol?, #to_dot, #to_s, #to_sym, #type

Constructor Details

This class inherits a constructor from Journey::Nodes::Node

Instance Method Details

#childrenObject



86
# File 'lib/journey/nodes/node.rb', line 86

def children; [value] end