Sha256: 43a24196c6705287498dad47fc0eecd2d89eb1a7ef9f993d413fa74832bb8874

Contents?: true

Size: 573 Bytes

Versions: 2

Compression:

Stored size: 573 Bytes

Contents

=begin
    Copyright 2010-2017 Sarosys LLC <http://www.sarosys.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.downcase.freeze, value.freeze
    end

end

end
end
end
end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
arachni-1.5.1 lib/arachni/parser/nodes/element/with_attributes/attributes.rb
arachni-1.5 lib/arachni/parser/nodes/element/with_attributes/attributes.rb