Class: Cobble::Fakes::Alias
- Inherits:
-
Object
- Object
- Cobble::Fakes::Alias
- Defined in:
- lib/cobble/fakes.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#to ⇒ Object
Returns the value of attribute to.
Instance Method Summary collapse
-
#initialize(to) ⇒ Alias
constructor
A new instance of Alias.
Constructor Details
#initialize(to) ⇒ Alias
Returns a new instance of Alias.
59 60 61 |
# File 'lib/cobble/fakes.rb', line 59 def initialize(to) self.to = to end |
Instance Attribute Details
#to ⇒ Object
Returns the value of attribute to.
58 59 60 |
# File 'lib/cobble/fakes.rb', line 58 def to @to end |