Class: Cartridge::BuildRelation

Inherits:
Object
  • Object
show all
Defined in:
app/models/cartridge.rb

Constant Summary collapse

Null =
new(nil,nil)

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(with, on) ⇒ BuildRelation

Returns a new instance of BuildRelation.



117
118
119
# File 'app/models/cartridge.rb', line 117

def initialize(with, on)
  @with, @on = with, on
end

Instance Attribute Details

#onObject

Returns the value of attribute on.



115
116
117
# File 'app/models/cartridge.rb', line 115

def on
  @on
end

#withObject

Returns the value of attribute with.



115
116
117
# File 'app/models/cartridge.rb', line 115

def with
  @with
end