Class: Namlet::Wrapper

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

Instance Method Summary collapse

Constructor Details

#initialize(name, actual) ⇒ Wrapper

Returns a new instance of Wrapper.



3
4
5
6
7
# File 'lib/namlet/wrapper.rb', line 3

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

Instance Method Details

#inspectObject



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

def inspect ; @name ; end