Class: KathyLee::Fakes::Alias

Inherits:
Object
  • Object
show all
Defined in:
lib/kathy_lee/fakes.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(to) ⇒ Alias

Returns a new instance of Alias.



59
60
61
# File 'lib/kathy_lee/fakes.rb', line 59

def initialize(to)
  self.to = to
end

Instance Attribute Details

#toObject

Returns the value of attribute to.



58
59
60
# File 'lib/kathy_lee/fakes.rb', line 58

def to
  @to
end