Class: GECS::DoubleBag

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

Overview

Normative struct definition.

DoubleBag is a bag containing a GECS version number and a BagOfHolding. The format version identifier is added/removed by save/load.

Instance Attribute Summary collapse

Instance Attribute Details

#bagOfHoldingObject

Returns the value of attribute bagOfHolding

Returns:

  • (Object)

    the current value of bagOfHolding



276
277
278
# File 'lib/GECS.rb', line 276

def bagOfHolding
  @bagOfHolding
end

#versionObject

Returns the value of attribute version

Returns:

  • (Object)

    the current value of version



276
277
278
# File 'lib/GECS.rb', line 276

def version
  @version
end