Sha256: 82095808286fbb6355a42de9334c092f78247c8d7462c440c67f62b940d22933

Contents?: true

Size: 402 Bytes

Versions: 1

Compression:

Stored size: 402 Bytes

Contents

module MicroMicro
  module Parsers
    class EmbeddedMarkupPropertyParser < BasePropertyParser
      # @see http://microformats.org/wiki/microformats2-parsing#parsing_an_e-_property
      #
      # @return [Hash{Symbol => String}]
      def value
        @value ||= begin
          {
            html: node.inner_html.strip,
            value: super
          }
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
micromicro-1.0.0 lib/micro_micro/parsers/embedded_markup_property_parser.rb