Class: NilClass

Inherits:
Object show all
Defined in:
lib/babushka/core_patches/try.rb,
lib/babushka/core_patches/blank.rb

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)

19
20
21
# File 'lib/babushka/core_patches/blank.rb', line 19

def blank?
  true
end

#try(*args) ⇒ Object


15
16
17
18
# File 'lib/babushka/core_patches/try.rb', line 15

def try *args
  Babushka::LogHelpers.deprecated! '2017-09-01'
  nil
end