Class: MicroMicro::Parsers::ImpliedUrlPropertyParser

Inherits:
BaseImpliedPropertyParser show all
Defined in:
lib/micro_micro/parsers/implied_url_property_parser.rb

Constant Summary collapse

CSS_SELECTORS_ARRAY =
["> a[href]:only-of-type", "> area[href]:only-of-type"].freeze
HTML_ELEMENTS_MAP =
{
  "a"    => "href",
  "area" => "href"
}.freeze

Instance Method Summary collapse

Methods inherited from BasePropertyParser

#initialize

Constructor Details

This class inherits a constructor from MicroMicro::Parsers::BasePropertyParser

Instance Method Details

#valueString?

[View source]

17
18
19
# File 'lib/micro_micro/parsers/implied_url_property_parser.rb', line 17

def value
  @value ||= attribute_value
end