Libraries
»
hobosupport
(1.1.0)
»
Index (T)
»
TrueClass
Class: TrueClass
Inherits:
Object
Object
TrueClass
show all
Defined in:
lib/hobo_support/implies.rb
Instance Method Summary
collapse
#
implies
(x = nil) ⇒ Object
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