lib/mustang/v8/date.rb in mustang-0.2.1 vs lib/mustang/v8/date.rb in mustang-0.2.2
- old
+ new
@@ -13,8 +13,12 @@
end
def delegate
to_time
end
+
+ def kind_of?(klass)
+ klass == ::Time or klass == ::Date or klass == ::DateTime or super(klass)
+ end
end # Date
end # V8
end # Mustang