Journey::Nodes::Symbol

Constants

DEFAULT_EXP

Attributes

regexp[RW]
symbol[RW]

Public Class Methods

new(left) click to toggle source
# File lib/journey/nodes/node.rb, line 73
def initialize left
  super
  @regexp = DEFAULT_EXP
end

Public Instance Methods

default_regexp?() click to toggle source
# File lib/journey/nodes/node.rb, line 78
def default_regexp?
  regexp == DEFAULT_EXP
end
symbol?() click to toggle source
# File lib/journey/nodes/node.rb, line 82
def symbol?; true; end

[Validate]

Generated with the Darkfish Rdoc Generator 2.