Class: ODDB::State::Substances::SelectSubstance::SubstanceSelection

Inherits:
Object
  • Object
show all
Defined in:
src/state/substances/selectsubstance.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (SubstanceSelection) initialize(source, targets)

A new instance of SubstanceSelection



13
14
15
16
# File 'src/state/substances/selectsubstance.rb', line 13

def initialize(source, targets)
  @source = source
  @targets = targets
end

Instance Attribute Details

- (Object) source

Returns the value of attribute source



12
13
14
# File 'src/state/substances/selectsubstance.rb', line 12

def source
  @source
end

- (Object) targets

Returns the value of attribute targets



12
13
14
# File 'src/state/substances/selectsubstance.rb', line 12

def targets
  @targets
end