monkey-patch 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/monkey-patch/time.rb +1 -1
- metadata +1 -1
data/lib/monkey-patch/time.rb
CHANGED
@@ -36,7 +36,7 @@ require 'active_support/core_ext'
|
|
36
36
|
|
37
37
|
class Time
|
38
38
|
class << self
|
39
|
-
%w(commercial england gregorian italy jd jisx0301 julian ld mjd ordinal today)
|
39
|
+
%w(commercial england gregorian italy jd jisx0301 julian ld mjd ordinal today yesterday)
|
40
40
|
.each do |method|
|
41
41
|
class_eval %{
|
42
42
|
def #{method}(*rest)
|