Class: Parslet::Atoms::Rule::Position::MemoEntry

Inherits:
Struct
  • Object
show all
Defined in:
lib/parslet/atoms/rule/position.rb

Instance Attribute Summary collapse

Instance Attribute Details

#answerObject

Returns the value of attribute answer

Returns:

  • (Object)

    the current value of answer



4
5
6
# File 'lib/parslet/atoms/rule/position.rb', line 4

def answer
  @answer
end

#posObject

Returns the value of attribute pos

Returns:

  • (Object)

    the current value of pos



4
5
6
# File 'lib/parslet/atoms/rule/position.rb', line 4

def pos
  @pos
end