Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/octokom/core_ext/blank.rb
Overview
This file is from “activesupport/lib/active_support/core_ext/object/blank.rb”
Instance Method Summary collapse
Instance Method Details
#blank? ⇒ Boolean
4 5 6 |
# File 'lib/octokom/core_ext/blank.rb', line 4 def blank? respond_to?(:empty?) ? !!empty? : !self end |
#present? ⇒ Boolean
8 9 10 |
# File 'lib/octokom/core_ext/blank.rb', line 8 def present? !blank? end |