Method: JPath::Parser::Formula#initialize

Defined in:
lib/jpath/parser/formula.rb

#initialize(type, *parts) ⇒ Formula

Returns a new instance of Formula.



59
60
61
62
# File 'lib/jpath/parser/formula.rb', line 59

def initialize(type, *parts)
  @type  = type
  @parts = parts.flatten
end