Class: ODDB::StubPackageApp

Inherits:
Object show all
Defined in:
test/test_model/package.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (StubPackageApp) initialize

A new instance of StubPackageApp



16
17
18
# File 'test/test_model/package.rb', line 16

def initialize
  @generic_groups = {}
end

Instance Attribute Details

- (Object) generic_groups=(value) (writeonly)

Sets the attribute generic_groups

Parameters:

  • value

    the value to set the attribute generic_groups to.



14
15
16
# File 'test/test_model/package.rb', line 14

def generic_groups=(value)
  @generic_groups = value
end

- (Object) pointer (readonly)

Returns the value of attribute pointer



15
16
17
# File 'test/test_model/package.rb', line 15

def pointer
  @pointer
end

- (Object) values (readonly)

Returns the value of attribute values



15
16
17
# File 'test/test_model/package.rb', line 15

def values
  @values
end

Instance Method Details

- (Object) generic_group(key)



19
20
21
# File 'test/test_model/package.rb', line 19

def generic_group(key)
  @generic_groups[key]
end

- (Object) update(pointer, values)



22
23
24
# File 'test/test_model/package.rb', line 22

def update(pointer, values)
  @pointer, @values = pointer, values
end