Sha256: 6ef36b7e4951c703699de3009191f8c6b3b9a440dc1803f3a80f5229c5a1e1df
Contents?: true
Size: 984 Bytes
Versions: 3
Compression:
Stored size: 984 Bytes
Contents
=begin Copyright 2010-2015 Tasos Laskos <tasos.laskos@arachni-scanner.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::Element class Link module Capabilities # Extends {Arachni::Element::Capabilities::WithDOM} with {Link}-specific # functionality. # # @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com> module WithDOM include Arachni::Element::Capabilities::WithNode include Arachni::Element::Capabilities::WithDOM # @return [DOM] def dom return @dom if @dom return if !dom_data super end private def dom_data return @dom_data if @dom_data return if @dom_data == false return if !node @dom_data ||= (self.class::DOM.data_from_node( node ) || false) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems