Sha256: 75c2c72cad5739cad2ad07f48a12fa706f5d5682225c2fd9eacc48a15955643c
Contents?: true
Size: 399 Bytes
Versions: 7
Compression:
Stored size: 399 Bytes
Contents
class Muddyit::Sites::Site::Pages::Page::ExtractedContent < Muddyit::Generic def initialize(muddyit, attributes) super(muddyit, attributes) populate_terms end protected def populate_terms terms = [] if @attributes.has_key?(:terms) @attributes[:terms].each do |term| terms.push term['term'] end @attributes[:terms] = terms end end end
Version data entries
7 entries across 7 versions & 2 rubygems