class Journey::Nodes::Symbol - journey-1.0.4 Documentation

# class Journey::Nodes::Symbol

### Constants

DEFAULT_EXP

### Attributes

regexp[RW]
symbol[RW]

### Public Class Methods

new(left) click to toggle source
Calls superclass method

    # 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