lib/kagemusha/datetime.rb in nayutaya-kagemusha-0.0.9 vs lib/kagemusha/datetime.rb in nayutaya-kagemusha-0.1.0

- old
+ new

@@ -1,16 +1,10 @@ # coding: utf-8 -#==============================================================================# -# $Id: datetime.rb 108 2009-02-09 06:04:39Z yuyakato $ -#==============================================================================# - require File.join(File.dirname(__FILE__), "date") require File.join(File.dirname(__FILE__), "time") -#==============================================================================# - class Kagemusha #:nodoc: module DateTime #:nodoc: def self.at(time_or_year, mon = 1, mday = 1, hour = 0, min = 0, sec = 0, &block) if block_given? return self.at(time_or_year, mon, mday, hour, min, sec).swap(&block) @@ -34,8 +28,5 @@ return datemusha + timemusha end end end - -#==============================================================================# -#==============================================================================#