Flowdock
method

builder

Importance_0
v2.3.2 - Show latest stable - 0 notes - Class: ActiveRecord::XmlSerializer
builder() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/serializers/xml_serializer.rb, line 166
    def builder
      @builder ||= begin
        options[:indent] ||= 2
        builder = options[:builder] ||= Builder::XmlMarkup.new(:indent => options[:indent])

        unless options[:skip_instruct]
          builder.instruct!
          options[:skip_instruct] = true
        end

        builder
      end
    end
Register or log in to add new notes.