Sha256: 8624307b4eed12895106f3ed90a718a8b03fa913932217c2b8de20f85a89619b
Contents?: true
Size: 323 Bytes
Versions: 1
Compression:
Stored size: 323 Bytes
Contents
require "contracts" include Contracts class Interval DAY = :day WEEKDAY = :weekday WEEK = :week MONTH = :month YEAR = :year class SPECIFIC_DAYS attr_accessor :days Contract ArrayOf[String] => Any def initialize days @days = days end def inspect days.inspect end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
chorewheel-0.0.1 | lib/interval.rb |