Class: MicroMicro::Parsers::ImpliedNamePropertyParser
- Inherits:
-
BaseImpliedPropertyParser
- Object
- BasePropertyParser
- BaseImpliedPropertyParser
- MicroMicro::Parsers::ImpliedNamePropertyParser
- Defined in:
- lib/micro_micro/parsers/implied_name_property_parser.rb
Constant Summary collapse
- HTML_ELEMENTS_MAP =
{ "img" => "alt", "area" => "alt", "abbr" => "title" }.freeze
Instance Method Summary collapse
Methods inherited from BasePropertyParser
Constructor Details
This class inherits a constructor from MicroMicro::Parsers::BasePropertyParser
Instance Method Details
#value ⇒ String
16 17 18 |
# File 'lib/micro_micro/parsers/implied_name_property_parser.rb', line 16 def value @value ||= attribute_value || text_content end |