Class: Hash Private
- Defined in:
- lib/stub_requests/core_ext/object/blank.rb,
lib/stub_requests/core_ext/array/extract_options.rb,
lib/stub_requests/core_ext/string/to_route_param.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
:nodoc:key => "value",
Instance Method Summary collapse
- #extractable_options? ⇒ Boolean private
-
#to_route_param ⇒ Object
private
:nodoc:.
Instance Method Details
#extractable_options? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
6 7 8 |
# File 'lib/stub_requests/core_ext/array/extract_options.rb', line 6 def instance_of?(Hash) end |
#to_route_param ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
:nodoc:
30 31 32 33 34 |
# File 'lib/stub_requests/core_ext/string/to_route_param.rb', line 30 def to_route_param each_with_object({}) do |(key, value), memo| memo[key.to_route_param] = value end end |