Class: TrueClass

Inherits:
Object show all
Defined in:
lib/hobo_support/implies.rb

Instance Method Summary collapse

Instance Method Details

#implies(x = nil) ⇒ Object



3
4
5
# File 'lib/hobo_support/implies.rb', line 3

def implies(x=nil)
  block_given? ? yield : x
end