Class: ODDB::StubSequenceGalenicForm

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

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Instance Attribute Details

- (Object) added (readonly)

Returns the value of attribute added



23
24
25
# File 'test/test_model/sequence.rb', line 23

def added
  @added
end

- (Object) removed (readonly)

Returns the value of attribute removed



23
24
25
# File 'test/test_model/sequence.rb', line 23

def removed
  @removed
end

Instance Method Details

- (Object) add_sequence(seq)



27
28
29
# File 'test/test_model/sequence.rb', line 27

def add_sequence(seq)
  @added = seq
end

- (Boolean) equivalent_to?(other)

Returns:

  • (Boolean)


24
25
26
# File 'test/test_model/sequence.rb', line 24

def equivalent_to?(other)
  self==other
end

- (Object) remove_sequence(seq)



30
31
32
# File 'test/test_model/sequence.rb', line 30

def remove_sequence(seq)
  @removed = seq
end