Method: MicroMicro::Parsers::BasePropertyParser#value

Defined in:
lib/micro_micro/parsers/base_property_parser.rb

#valueString



18
19
20
21
22
23
# File 'lib/micro_micro/parsers/base_property_parser.rb', line 18

def value
  @value ||=
    Helpers.text_content_from(node) do |context|
      context.css("img").each { |img| img.content = " #{img["alt"] || img["src"]} " }
    end
end