Class: Packcr::Parser::LrMemo

Inherits:
Object
  • Object
show all
Defined in:
lib/packcr/parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#answerObject

Returns the value of attribute answer.



64
65
66
# File 'lib/packcr/parser.rb', line 64

def answer
  @answer
end

#failObject

Returns the value of attribute fail.



64
65
66
# File 'lib/packcr/parser.rb', line 64

def fail
  @fail
end

#growObject

Returns the value of attribute grow.



64
65
66
# File 'lib/packcr/parser.rb', line 64

def grow
  @grow
end

#offsetObject

Returns the value of attribute offset.



64
65
66
# File 'lib/packcr/parser.rb', line 64

def offset
  @offset
end

#offset_locObject

Returns the value of attribute offset_loc.



64
65
66
# File 'lib/packcr/parser.rb', line 64

def offset_loc
  @offset_loc
end