Class: Object

Inherits:
BasicObject
Defined in:
lib/coloration/extensions.rb

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)


2
3
4
# File 'lib/coloration/extensions.rb', line 2

def blank?
  false
end

#try(*args) ⇒ Object



6
7
8
# File 'lib/coloration/extensions.rb', line 6

def try(*args)
  send(*args) if respond_to?(args.first)
end