Class: MicroMicro::Parsers::DateTimePropertyParser

Inherits:
BasePropertyParser show all
Defined in:
lib/micro_micro/parsers/date_time_property_parser.rb

Constant Summary collapse

HTML_ATTRIBUTES_MAP =
{
  "datetime" => %w[del ins time],
  "title"    => %w[abbr],
  "value"    => %w[data input]
}.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



16
17
18
# File 'lib/micro_micro/parsers/date_time_property_parser.rb', line 16

def value
  @value ||= resolved_value || attribute_value || super
end