class method
self.new
Ruby on Rails 4.0.13
Since v3.0.20 Last seen in v4.0.13Signature
self.new(options = nil)
No documentation comment.
Parameters
-
optionsopt = nil
Source
# File activesupport/lib/active_support/json/encoding.rb, line 43
def initialize(options = nil)
@options = options || {}
@seen = Set.new
end
Defined in activesupport/lib/active_support/json/encoding.rb line 43
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::JSON::Encoding::Encoder