OSDN Git Service

ActiveLdap 1.2.4
[redminele/redminele.git] / ruby / lib / ruby / gems / 1.8 / gems / activesupport-2.3.12 / lib / active_support / json / encoders / symbol.rb
diff --git a/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.12/lib/active_support/json/encoders/symbol.rb b/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.12/lib/active_support/json/encoders/symbol.rb
new file mode 100644 (file)
index 0000000..f7dcd49
--- /dev/null
@@ -0,0 +1,5 @@
+class Symbol
+  def as_json(options = nil) #:nodoc:
+    to_s
+  end
+end