Class: Mole::Transporter
- Inherits:
-
Object
- Object
- Mole::Transporter
- Extended by:
- Forwardable
- Defined in:
- lib/orwell/mole/transporter.rb
Instance Attribute Summary collapse
-
#transport ⇒ Object
readonly
Returns the value of attribute transport.
Instance Method Summary collapse
-
#initialize(transport) ⇒ Transporter
constructor
A new instance of Transporter.
Constructor Details
#initialize(transport) ⇒ Transporter
Returns a new instance of Transporter.
11 12 13 |
# File 'lib/orwell/mole/transporter.rb', line 11 def initialize(transport) @transport = lookup(transport) end |
Instance Attribute Details
#transport ⇒ Object (readonly)
Returns the value of attribute transport.
9 10 11 |
# File 'lib/orwell/mole/transporter.rb', line 9 def transport @transport end |