Sha256: 9f321f5710226c1e86d0a9a572fdcb7309729045cd81c4ed6878e1ba53ed1a1e

Contents?: true

Size: 339 Bytes

Versions: 2

Compression:

Stored size: 339 Bytes

Contents

module Reality
  # @private
  module MusicalArtist
    extend Entity::WikipediaType

    infobox_name 'Infobox musical artist'

    parse :albums, [:entity] do |page|
      if (sec = page.sections('Discography').first)
        sec.lookup(:UnorderedList).first.lookup(:Wikilink, :italic?)
      else
        nil
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
reality-0.0.5 lib/reality/definitions/wikipedia_musical_artist.rb
reality-0.0.4 lib/reality/definitions/wikipedia_musical_artist.rb