Sha256: 01241bb5bdf8783a4e80fd2f2af83657c6c503d142e031bf9e1337dbcb5e99a2

Contents?: true

Size: 362 Bytes

Versions: 12

Compression:

Stored size: 362 Bytes

Contents

require "mk_calendar/version"
require "mk_calendar/argument"
require "mk_calendar/calendar"
require "mk_calendar/compute"
require "mk_calendar/const"

module MkCalendar
  def self.new(arg = ARGV[0])
    arg ||= Time.now.strftime("%Y%m%d")
    ymd = MkCalendar::Argument.new(arg).get_ymd
    return if ymd == []
    return MkCalendar::Calendar.new(ymd)
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
mk_calendar-0.3.2 lib/mk_calendar.rb
mk_calendar-0.3.1 lib/mk_calendar.rb
mk_calendar-0.3.0 lib/mk_calendar.rb
mk_calendar-0.2.8 lib/mk_calendar.rb
mk_calendar-0.2.7 lib/mk_calendar.rb
mk_calendar-0.2.6 lib/mk_calendar.rb
mk_calendar-0.2.5 lib/mk_calendar.rb
mk_calendar-0.2.4 lib/mk_calendar.rb
mk_calendar-0.2.3 lib/mk_calendar.rb
mk_calendar-0.2.2 lib/mk_calendar.rb
mk_calendar-0.2.1 lib/mk_calendar.rb
mk_calendar-0.2.0 lib/mk_calendar.rb