Class: Arachni::Parser::Nodes::Element::WithAttributes::Attributes

Inherits:
Hash
  • Object
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

#[](name) ⇒ Object


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.downcase.freeze, value.freeze
end