Class: Packcr::Parser::LrMemo
- Inherits:
-
Object
- Object
- Packcr::Parser::LrMemo
- Defined in:
- lib/packcr/parser.rb
Instance Attribute Summary collapse
-
#answer ⇒ Object
Returns the value of attribute answer.
-
#fail ⇒ Object
Returns the value of attribute fail.
-
#grow ⇒ Object
Returns the value of attribute grow.
-
#offset ⇒ Object
Returns the value of attribute offset.
-
#offset_loc ⇒ Object
Returns the value of attribute offset_loc.
Instance Method Summary collapse
-
#initialize(offset, offset_loc) ⇒ LrMemo
constructor
A new instance of LrMemo.
Constructor Details
#initialize(offset, offset_loc) ⇒ LrMemo
Returns a new instance of LrMemo.
66 67 68 69 70 71 |
# File 'lib/packcr/parser.rb', line 66 def initialize(offset, offset_loc) @offset = offset @offset_loc = offset_loc @fail = true @grow = false end |
Instance Attribute Details
#answer ⇒ Object
Returns the value of attribute answer.
64 65 66 |
# File 'lib/packcr/parser.rb', line 64 def answer @answer end |
#fail ⇒ Object
Returns the value of attribute fail.
64 65 66 |
# File 'lib/packcr/parser.rb', line 64 def fail @fail end |
#grow ⇒ Object
Returns the value of attribute grow.
64 65 66 |
# File 'lib/packcr/parser.rb', line 64 def grow @grow end |
#offset ⇒ Object
Returns the value of attribute offset.
64 65 66 |
# File 'lib/packcr/parser.rb', line 64 def offset @offset end |
#offset_loc ⇒ Object
Returns the value of attribute offset_loc.
64 65 66 |
# File 'lib/packcr/parser.rb', line 64 def offset_loc @offset_loc end |