Sha256: 7a56b88ad99f8c62a4515af0204416a8bd0912dc637d53e6d216b076251acd2e
Contents?: true
Size: 590 Bytes
Versions: 3
Compression:
Stored size: 590 Bytes
Contents
# -*- coding: utf-8 -*- module Hiroshimarb::Commands class Event < Hiroshimarb::Command def call(*args) sub_command = args.first if sub_command == "all" puts all else puts recent end end def recent <<EOD 2012-12-01 (土) 14:00-18:00 広島Ruby勉強会 #026 http://hiroshimarb.github.com/blog/2012/11/16/hiroshimarb-26/ EOD end def all rest = <<EOD 2012-11-03 (土) 14:00-18:00 広島Ruby勉強会 #025 http://hiroshimarb.github.com/blog/2012/10/15/hiroshimarb-25/ EOD rest + recent end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hiroshimarb-0.2.1 | lib/hiroshimarb/commands/event.rb |
hiroshimarb-0.2.0 | lib/hiroshimarb/commands/event.rb |
hiroshimarb-0.1.4 | lib/hiroshimarb/commands/event.rb |