Class: Kaiseki::InsertVar

Inherits:
BasicParser show all
Defined in:
lib/var_insert.rb

Instance Attribute Summary

Attributes inherited from BasicParser

#expected

Instance Method Summary collapse

Methods inherited from BasicParser

#eql?, #initialize

Methods included from Parseable

#&, #action, #and?, #cast, #filter, #list, #merge, #not!, #one_or_more, #optional, #override, #parse, #predicate?, #protect, #repeat, #set, #skip, #tag_error, #tag_result, #to_parseable, #validate, #zero_or_more, #|

Constructor Details

This class inherits a constructor from Kaiseki::BasicParser

Instance Method Details

#to_sObject



3
4
5
# File 'lib/var_insert.rb', line 3

def to_s
	"#{@expected.is_a?(Symbol) ? "$#{@expected}" : @expected.inspect} (ins)"
end