Class: ODDB::StubPackageSequence

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

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (StubPackageSequence) initialize

A new instance of StubPackageSequence



39
40
41
# File 'test/test_model/package.rb', line 39

def initialize
  @active_packages = []
end

Instance Attribute Details

- (Object) active_packages

Returns the value of attribute active_packages



38
39
40
# File 'test/test_model/package.rb', line 38

def active_packages
  @active_packages
end

- (Object) basename

Returns the value of attribute basename



36
37
38
# File 'test/test_model/package.rb', line 36

def basename
  @basename
end

- (Object) comparables

Returns the value of attribute comparables



37
38
39
# File 'test/test_model/package.rb', line 37

def comparables
  @comparables
end

- (Object) dose

Returns the value of attribute dose



36
37
38
# File 'test/test_model/package.rb', line 36

def dose
  @dose
end

- (Object) registration

Returns the value of attribute registration



38
39
40
# File 'test/test_model/package.rb', line 38

def registration
  @registration
end

Instance Method Details

- (Object) iksnr



45
46
47
# File 'test/test_model/package.rb', line 45

def iksnr
  '12345'
end

- (Object) public_packages



42
43
44
# File 'test/test_model/package.rb', line 42

def public_packages
  @active_packages
end