Class: Bandicoot::SavePointHash

Inherits:
Hash
  • Object
show all
Defined in:
lib/bandicoot/save_point_hash.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#completeObject

Returns the value of attribute complete.



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

def complete
  @complete
end

#ret_valObject

Returns the value of attribute ret_val.



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

def ret_val
  @ret_val
end

Instance Method Details

#completed?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/bandicoot/save_point_hash.rb', line 5

def completed?
  !!complete
end