Class: Namlet::Wrapper

Inherits:
SimpleDelegator
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/namlet/wrapper.rb

Instance Method Summary collapse

Constructor Details

#initialize(name, actual) ⇒ Wrapper

Returns a new instance of Wrapper.



6
7
8
9
10
# File 'lib/namlet/wrapper.rb', line 6

def initialize(name, actual)
  super(actual)
  @name = name
  @actual = actual
end

Instance Method Details

#inspectObject



13
# File 'lib/namlet/wrapper.rb', line 13

def inspect ; @name ; end