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