Sha256: 5826549d830dee5f5fdd914045727d1fb763f511f280c3f772b61ffd519994ee
Contents?: true
Size: 658 Bytes
Versions: 6
Compression:
Stored size: 658 Bytes
Contents
LIB_DIR = File.realpath(File.dirname(__FILE__)) $LOAD_PATH.unshift(LIB_DIR) Dir["#{LIB_DIR}/**/*.rb"].sort.each { |file| require file.sub("#{LIB_DIR}/", '').chomp('.rb') } module Manifestly module DayOfTheWeek MONDAY = 'Monday'.freeze TUESDAY = 'Tuesday'.freeze WEDNESDAY = 'Wednesday'.freeze THURSDAY = 'Thursday'.freeze FRIDAY = 'Friday'.freeze SATURDAY = 'Saturday'.freeze SUNDAY = 'Sunday'.freeze WEEKDAY = [MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY].freeze WEEKEND = [SATURDAY, SUNDAY].freeze end module Duration MINUTES = 'minutes'.freeze HOURS = 'hours'.freeze DAYS = 'days'.freeze end end
Version data entries
6 entries across 6 versions & 1 rubygems