Class: Avm::Data::Instance::Unit

Inherits:
Unit show all
Defined in:
lib/avm/data/instance/unit.rb

Direct Known Subclasses

FilesUnit, Postgresql::Instance::DataUnit

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Unit

#dump, #dump_to_directory, #extension, #load, #load_from_directory, #name

Constructor Details

#initialize(instance) ⇒ Unit

Returns a new instance of Unit.



11
12
13
# File 'lib/avm/data/instance/unit.rb', line 11

def initialize(instance)
  @instance = instance
end

Instance Attribute Details

#instanceObject (readonly)

Returns the value of attribute instance.



9
10
11
# File 'lib/avm/data/instance/unit.rb', line 9

def instance
  @instance
end