method
new
new(serializable, options = nil)
public
Hide source
# File activemodel/lib/active_model/serializers/xml.rb, line 57 def initialize(serializable, options = nil) @serializable = serializable @options = options ? options.dup : {} end