Method: RubyPitaya::Parameters.nested_attribute?
- Defined in:
- lib/rubypitaya/core/parameters.rb
.nested_attribute?(key, value) ⇒ Boolean
:nodoc:
70 71 72 |
# File 'lib/rubypitaya/core/parameters.rb', line 70 def nested_attribute?(key, value) # :nodoc: /\A-?\d+\z/.match?(key) && (value.is_a?(Hash) || value.is_a?(Parameters)) end |