Class: Kernel::Lambda::Repr
Overview
Temporary wrapper for @__repr__
Instance Attribute Summary collapse
-
#repr ⇒ Object
readonly
Returns the value of attribute repr.
Instance Method Summary collapse
-
#initialize(repr) ⇒ Repr
constructor
A new instance of Repr.
Constructor Details
#initialize(repr) ⇒ Repr
Returns a new instance of Repr.
113 114 115 |
# File 'lib/patch/lambda.rb', line 113 def initialize(repr) @repr = repr end |
Instance Attribute Details
#repr ⇒ Object (readonly)
Returns the value of attribute repr.
111 112 113 |
# File 'lib/patch/lambda.rb', line 111 def repr @repr end |