Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/couch.rb
Instance Method Summary collapse
Instance Method Details
#include_symbol_or_string?(param) ⇒ Boolean
8 9 10 11 12 13 14 |
# File 'lib/couch.rb', line 8 def include_symbol_or_string?(param) if param.is_a? Symbol or param.is_a? String include? param.to_sym or include? param.to_s else false end end |