Sha256: 3ac787a4ea418ced36ffd60e5ee2bba72b8280aee0284bf6a785d2d8aebed114

Contents?: true

Size: 583 Bytes

Versions: 5

Compression:

Stored size: 583 Bytes

Contents

=begin
    Copyright 2010-2022 Ecsypno <http://www.ecsypno.com>

    This file is part of the Arachni Framework project and is subject to
    redistribution and commercial restrictions. Please see the Arachni Framework
    web site for more information on licensing and terms of use.
=end

module Arachni
class Parser
module Nodes
class Element
module WithAttributes

class Attributes < Hash

    def []( name )
        super name.to_s.downcase
    end

    def []=( name, value )
        super name.to_s.recode.downcase.freeze, value.recode.freeze
    end

end

end
end
end
end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
arachni-1.6.1.3 lib/arachni/parser/nodes/element/with_attributes/attributes.rb
arachni-1.6.1.2 lib/arachni/parser/nodes/element/with_attributes/attributes.rb
arachni-1.6.1.1 lib/arachni/parser/nodes/element/with_attributes/attributes.rb
arachni-1.6.1 lib/arachni/parser/nodes/element/with_attributes/attributes.rb
arachni-1.6.0 lib/arachni/parser/nodes/element/with_attributes/attributes.rb