Froze rails gems
[depot.git] / vendor / rails / activesupport / lib / active_support / core_ext / time / behavior.rb
diff --git a/vendor/rails/activesupport/lib/active_support/core_ext/time/behavior.rb b/vendor/rails/activesupport/lib/active_support/core_ext/time/behavior.rb
new file mode 100644 (file)
index 0000000..a5c0baa
--- /dev/null
@@ -0,0 +1,13 @@
+module ActiveSupport #:nodoc:
+  module CoreExtensions #:nodoc:
+    module Time #:nodoc:
+      module Behavior
+        # Enable more predictable duck-typing on Time-like classes. See
+        # Object#acts_like?.
+        def acts_like_time?
+          true
+        end
+      end
+    end
+  end
+end