Sha256: dcd55d5a1d93691f3925b7e758c3edb30885b3c999051d772bc77a76bb300e15
Contents?: true
Size: 250 Bytes
Versions: 9
Compression:
Stored size: 250 Bytes
Contents
# Generates random timezone information. class Forgery::Time < Forgery # Gets a random timezone out of the 'timezones' dictionary # # Forgery(:timezone).timezone # # => "Sydney" def self.zone dictionaries[:zones].random end end
Version data entries
9 entries across 9 versions & 1 rubygems