Class: BasicObject

Defined in:
lib/wrapped/injection.rb

Instance Method Summary collapse

Instance Method Details

#wrappedObject

Wrap the object, forcing the user to be aware of the potential for a nil value by unwrapping it.

See the Present class for details on how to unwrap it.



9
10
11
# File 'lib/wrapped/injection.rb', line 9

def wrapped
  ::Present.new(self)
end