Class: NilClass
- Defined in:
- lib/happy_support/core_ext/object/try.rb,
lib/happy_support/core_ext/object/blank.rb,
lib/happy_support/core_ext/object/to_param.rb
Instance Method Summary collapse
Instance Method Details
#blank? ⇒ Boolean
18 19 20 |
# File 'lib/happy_support/core_ext/object/blank.rb', line 18 def blank? true end |
#to_param ⇒ Object
8 9 10 |
# File 'lib/happy_support/core_ext/object/to_param.rb', line 8 def to_param self end |
#try(*args) ⇒ Object
20 21 22 |
# File 'lib/happy_support/core_ext/object/try.rb', line 20 def try(*args) nil end |
#try!(*args) ⇒ Object
24 25 26 |
# File 'lib/happy_support/core_ext/object/try.rb', line 24 def try!(*args) nil end |