Sha256: 5aab2d67a6ba1f0c083d9914dc94313575d3f47eec86ec4cf4ce85d74df47faa

Contents?: true

Size: 626 Bytes

Versions: 5

Compression:

Stored size: 626 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

require_relative 'with_attributes/attributes'

module Arachni
class Parser
module Nodes
class Element

module WithAttributes

    def attributes
        @attributes ||= Attributes.new
    end

    def []( name )
        attributes[name]
    end

    def []=( name, value )
        attributes[name] = value
    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.rb
arachni-1.6.1.2 lib/arachni/parser/nodes/element/with_attributes.rb
arachni-1.6.1.1 lib/arachni/parser/nodes/element/with_attributes.rb
arachni-1.6.1 lib/arachni/parser/nodes/element/with_attributes.rb
arachni-1.6.0 lib/arachni/parser/nodes/element/with_attributes.rb