# File lib/rabl/engine.rb, line 76 def to_plist(options={}) include_root = Rabl.configuration.include_plist_root include_child_root = Rabl.configuration.include_child_root options = options.reverse_merge(:root => include_root, :child_root => include_child_root) result = defined?(@_collection_name) ? { @_collection_name => to_hash(options) } : to_hash(options) Rabl.configuration.plist_engine.dump(result) end