Module: JSONSelect::TypeHelpers
- Defined in:
- lib/json_select/helpers/type.rb
Instance Method Summary collapse
Instance Method Details
#instance_of_type(object, test, key, idx, size, depth) ⇒ Object
3 4 5 |
# File 'lib/json_select/helpers/type.rb', line 3 def instance_of_type(object, test, key, idx, size, depth) test[:n] == type_of(object) end |