Module: VCR::OrderedHashSerializer
- Defined in:
- lib/vcr/structs.rb
Class Method Summary collapse
-
.apply_to(hash, keys) ⇒ Object
1.9+ hashes are already ordered.
Instance Method Summary collapse
Class Method Details
.apply_to(hash, keys) ⇒ Object
1.9+ hashes are already ordered.
180 |
# File 'lib/vcr/structs.rb', line 180 def self.apply_to(*args); end |
Instance Method Details
#each ⇒ Object
172 173 174 175 176 |
# File 'lib/vcr/structs.rb', line 172 def each @ordered_keys.each do |key| yield key, self[key] if has_key?(key) end end |