Sha256: 601f34544b5aee7885446abbe5ed555aa845b4a4018c0653abe98faee3114a6b

Contents?: true

Size: 277 Bytes

Versions: 3

Compression:

Stored size: 277 Bytes

Contents

class Array
  def random
    self[Kernel.rand(size)]
  end
end

DB_DIR = File.join(File.dirname(__FILE__), '..', 'data')


%w(all_avatars_site random_user name_generator markov_text_generator).each do |file|
  require File.join(File.dirname(__FILE__), 'randomizer', file)
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
randomizer-0.0.4 lib/randomizer.rb
randomizer-0.0.3 lib/randomizer.rb
randomizer-0.0.2 lib/randomizer.rb