Method: Finix::IndifferentHash#count

Defined in:
lib/finix/indifferent_hash.rb

#count(*args) ⇒ Object



17
18
19
20
21
22
23
# File 'lib/finix/indifferent_hash.rb', line 17

def count(*args)
  if self.has_key? 'count'
    raise Exception.new 'Unsupported block_given exception' if block_given?
    return self.send :method_missing, :count, *args
  end
  super(*args)
end