Class: Kernel::Lambda::Repr

Inherits:
Object show all
Defined in:
lib/patch/lambda.rb

Overview

Temporary wrapper for @__repr__

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#reprObject (readonly)

Returns the value of attribute repr.



111
112
113
# File 'lib/patch/lambda.rb', line 111

def repr
  @repr
end