Class: Arachni::Parser::Nodes::Element::WithAttributes::Attributes
- Inherits:
-
Hash
- Object
- Hash
- Arachni::Parser::Nodes::Element::WithAttributes::Attributes
show all
- Defined in:
- lib/arachni/parser/nodes/element/with_attributes/attributes.rb
Instance Method Summary
collapse
Methods inherited from Hash
#apply_recursively, #downcase, #find_symbol_keys_recursively, #my_stringify, #my_stringify_keys, #my_symbolize_keys, #recode, #recode!, #stringify_recursively_and_freeze
Instance Method Details
17
18
19
|
# File 'lib/arachni/parser/nodes/element/with_attributes/attributes.rb', line 17
def []( name )
super name.to_s.downcase
end
|
#[]=(name, value) ⇒ Object
21
22
23
|
# File 'lib/arachni/parser/nodes/element/with_attributes/attributes.rb', line 21
def []=( name, value )
super name.to_s.recode.downcase.freeze, value.recode.freeze
end
|