Method: MaybeDelegator#method_missing

Defined in:
lib/mug/maybe.rb

#method_missing(*a, &b) ⇒ Object

Calls the method on @o if it’s truthy.



21
22
23
# File 'lib/mug/maybe.rb', line 21

def method_missing *a, &b #:nodoc:
	@o && @o.send(*a, &b)
end