OSDN Git Service
(root)
/
redminele
/
redminele.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ActiveLdap 1.2.4
[redminele/redminele.git]
/
ruby
/
lib
/
ruby
/
gems
/
1.8
/
gems
/
activesupport-2.3.12
/
lib
/
active_support
/
json
/
encoders
/
true_class.rb
diff --git a/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.12/lib/active_support/json/encoders/true_class.rb
b/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.12/lib/active_support/json/encoders/true_class.rb
new file mode 100644
(file)
index 0000000..
4b65dee
--- /dev/null
+++ b/
ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.12/lib/active_support/json/encoders/true_class.rb
@@ -0,0
+1,7
@@
+class TrueClass
+ AS_JSON = ActiveSupport::JSON::Variable.new('true').freeze
+
+ def as_json(options = nil) #:nodoc:
+ AS_JSON
+ end
+end