Class: Object

Inherits:
BasicObject
Defined in:
lib/hbase.rb

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)


17
18
19
# File 'lib/hbase.rb', line 17

def blank?
  respond_to?(:empty?) ? empty? : !self
end

#to_procObject



13
14
15
# File 'lib/hbase.rb', line 13

def to_proc
  proc { |obj, *args| obj.send(self, *args) }
end