Class: ODDB::State::Drugs::StubMGFStateModel

Inherits:
Object
  • Object
show all
Defined in:
test/test_state/drugs/mergegalenicform.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (StubMGFStateModel) initialize(form)

A new instance of StubMGFStateModel



35
36
37
# File 'test/test_state/drugs/mergegalenicform.rb', line 35

def initialize(form)
  @form = form
end

Instance Attribute Details

- (Object) form

Returns the value of attribute form



34
35
36
# File 'test/test_state/drugs/mergegalenicform.rb', line 34

def form
  @form
end

Instance Method Details

- (Object) ==(other)



38
39
40
# File 'test/test_state/drugs/mergegalenicform.rb', line 38

def ==(other)
  @form == other.form
end