Sha256: e4579408fe3ca325cc86b44d71a4ba20f9c353b9bab5632f50771b341c8fba72

Contents?: true

Size: 329 Bytes

Versions: 4

Compression:

Stored size: 329 Bytes

Contents

# frozen_string_literal: true

module Faker
  class ChuckNorris < Base
    flexible :chuck_norris

    class << self
      # from: https://github.com/jenkinsci/chucknorris-plugin/blob/master/src/main/java/hudson/plugins/chucknorris/FactGenerator.java
      def fact
        fetch('chuck_norris.fact')
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
faker-2.8.0 lib/faker/default/chuck_norris.rb
faker-2.7.0 lib/faker/default/chuck_norris.rb
faker-2.6.0 lib/faker/default/chuck_norris.rb
faker-2.5.0 lib/faker/default/chuck_norris.rb