Class: Object

Inherits:
BasicObject
Defined in:
lib/monadic/core_ext/object.rb

Instance Method Summary collapse

Instance Method Details

#_?Boolean

Returns:

  • (Boolean)

2
3
4
# File 'lib/monadic/core_ext/object.rb', line 2

def _?
  Maybe(self).fetch(nil)
end