Class: NilClass

Inherits:
Object
  • Object
show all
Defined in:
lib/wrapped/injection.rb

Instance Method Summary collapse

Instance Method Details

#wrappedObject

Wrap the nil, which is exactly the whole point. At this point the user must explictly deal with the nil, aware that it exists.

See the Blank class and the README for details on how to work with this.



19
20
21
# File 'lib/wrapped/injection.rb', line 19

def wrapped
  Blank.new
end