Sha256: 25f32cc07dd80f96c4d2652c5fd2e05aa0730806e21542174171daf719f38985

Contents?: true

Size: 550 Bytes

Versions: 19

Compression:

Stored size: 550 Bytes

Contents

# frozen_string_literal: true

module Faker
  # A generator of titles of operas by Verdi, Rossini, Donizetti and Bellini
  class Music
    class Opera < Base
      class << self
        def verdi
          fetch('opera.italian.by_giuseppe_verdi')
        end

        def rossini
          fetch('opera.italian.by_gioacchino_rossini')
        end

        def donizetti
          fetch('opera.italian.by_gaetano_donizetti')
        end

        def bellini
          fetch('opera.italian.by_vincenzo_bellini')
        end
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
faker-2.9.0 lib/faker/music/opera.rb
faker-2.8.1 lib/faker/music/opera.rb
faker-2.8.0 lib/faker/music/opera.rb
faker-2.7.0 lib/faker/music/opera.rb
faker-2.6.0 lib/faker/music/opera.rb
faker-2.5.0 lib/faker/music/opera.rb
faker-2.4.0 lib/faker/music/opera.rb
faker-2.3.0 lib/faker/music/opera.rb
faker-2.2.2 lib/faker/music/opera.rb
faker-2.2.1 lib/faker/music/opera.rb
faker-2.2.0 lib/faker/music/opera.rb
faker-2.1.2 lib/faker/music/opera.rb
faker-2.1.1 lib/faker/music/opera.rb
faker-2.1.0 lib/faker/music/opera.rb
faker-2.0.0 lib/faker/music/opera.rb
faker-2.0 lib/faker/music/opera.rb
faker-1.9.6 lib/faker/music/opera.rb
faker-1.9.5 lib/faker/music/opera.rb
faker-1.9.4 lib/faker/music/opera.rb