class Filemaker::HashWithIndifferentAndCaseInsensitiveAccess
Public Instance Methods
[](key)
click to toggle source
Calls superclass method
# File lib/filemaker/core_ext/hash.rb, line 7 def [](key) super(convert_key(key)) end
[]=(key, value)
click to toggle source
Calls superclass method
# File lib/filemaker/core_ext/hash.rb, line 3 def []=(key, value) super(convert_key(key), value) end
delete(key)
click to toggle source
Calls superclass method
# File lib/filemaker/core_ext/hash.rb, line 26 def delete(key) super(convert_key(key)) end
fetch(key, *extras)
click to toggle source
Calls superclass method
# File lib/filemaker/core_ext/hash.rb, line 18 def fetch(key, *extras) super(convert_key(key), *extras) end
key?(key)
click to toggle source
Calls superclass method
# File lib/filemaker/core_ext/hash.rb, line 11 def key?(key) super(convert_key(key)) end
values_at(*indices)
click to toggle source
# File lib/filemaker/core_ext/hash.rb, line 22 def values_at(*indices) indices.map { |key| self[convert_key(key)] } end
Protected Instance Methods
convert_key(key)
click to toggle source
# File lib/filemaker/core_ext/hash.rb, line 32 def convert_key(key) key.to_s.downcase end