Class: NilClass
Instance Method Summary collapse
Instance Method Details
#call(*args) ⇒ Object
5 |
# File 'lib/nil.rb', line 5 def call(*args); self; end |
#dig(*args) ⇒ Object
4 |
# File 'lib/nil.rb', line 4 def dig(*args); self; end |
#empty? ⇒ Boolean
2 |
# File 'lib/nil.rb', line 2 def empty?; true; end |
#present? ⇒ Boolean
3 |
# File 'lib/nil.rb', line 3 def present?; false; end |