Class: Cartridge::BuildRelation
- Inherits:
-
Object
- Object
- Cartridge::BuildRelation
- Defined in:
- app/models/cartridge.rb
Constant Summary collapse
- Null =
new(nil,nil)
Instance Attribute Summary collapse
-
#on ⇒ Object
Returns the value of attribute on.
-
#with ⇒ Object
Returns the value of attribute with.
Instance Method Summary collapse
-
#initialize(with, on) ⇒ BuildRelation
constructor
A new instance of BuildRelation.
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
#on ⇒ Object
Returns the value of attribute on.
115 116 117 |
# File 'app/models/cartridge.rb', line 115 def on @on end |
#with ⇒ Object
Returns the value of attribute with.
115 116 117 |
# File 'app/models/cartridge.rb', line 115 def with @with end |