Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/betterific/ruby_extensions.rb
Instance Method Summary collapse
-
#present? ⇒ Boolean
Return true if self is not nil, false otherwise.
Instance Method Details
#present? ⇒ Boolean
Return true if self is not nil, false otherwise.
This is defined only if it is not yet defined.
7 8 9 |
# File 'lib/betterific/ruby_extensions.rb', line 7 def present? !self.nil? end |