Class: IRB::NestingParser::NestingElem

Inherits:
Struct
  • Object
show all
Defined in:
lib/irb/nesting_parser.rb

Instance Attribute Summary collapse

Instance Attribute Details

#eventObject

Returns the value of attribute event

Returns:

  • (Object)

    the current value of event



7
8
9
# File 'lib/irb/nesting_parser.rb', line 7

def event
  @event
end

#posObject

Returns the value of attribute pos

Returns:

  • (Object)

    the current value of pos



7
8
9
# File 'lib/irb/nesting_parser.rb', line 7

def pos
  @pos
end

#tokObject

Returns the value of attribute tok

Returns:

  • (Object)

    the current value of tok



7
8
9
# File 'lib/irb/nesting_parser.rb', line 7

def tok
  @tok
end