mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
10 lines
242 B
Ruby
10 lines
242 B
Ruby
module ActiveSupport
|
|
module JSON
|
|
# A string that returns itself as its JSON-encoded form.
|
|
class Variable < String
|
|
def as_json(options = nil) self end #:nodoc:
|
|
def encode_json(encoder) self end #:nodoc:
|
|
end
|
|
end
|
|
end
|