Class: Aspect4r::ReturnThis

Inherits:
Object
  • Object
show all
Defined in:
lib/aspect4r/return_this.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ ReturnThis

Returns a new instance of ReturnThis.



5
6
7
# File 'lib/aspect4r/return_this.rb', line 5

def initialize value
  @value = value
end

Instance Attribute Details

#valueObject (readonly)

Returns the value of attribute value.



3
4
5
# File 'lib/aspect4r/return_this.rb', line 3

def value
  @value
end