Module: Tins::IfPredicate

Included in:
Object
Defined in:
lib/tins/if_predicate.rb

Instance Method Summary collapse

Instance Method Details

#if?Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/tins/if_predicate.rb', line 3

def if?
  self ? self : nil
end