Sha256: f01232941718ca2cbc4c412ac535170a9878ac912bff00c20d65336fdfed5606

Contents?: true

Size: 1.35 KB

Versions: 1

Compression:

Stored size: 1.35 KB

Contents

require_relative "conglomerate/tree_serializer"
require_relative "conglomerate/array"
require_relative "conglomerate/particle"
require_relative "conglomerate/serializer"
require_relative "conglomerate/link"
require_relative "conglomerate/error"
require_relative "conglomerate/datum"
require_relative "conglomerate/template"
require_relative "conglomerate/item"
require_relative "conglomerate/query"
require_relative "conglomerate/command"
require_relative "conglomerate/collection"
require_relative "conglomerate/tree_deserializer"
require_relative "conglomerate/root"
require_relative "conglomerate/mixin_ivar_helper"
require_relative "conglomerate/builder_call"
require_relative "conglomerate/builder_serializer"
require_relative "conglomerate/particle_builder"
require_relative "conglomerate/link_builder"
require_relative "conglomerate/datum_builder"
require_relative "conglomerate/query_builder"
require_relative "conglomerate/template_builder"
require_relative "conglomerate/item_builder"
require_relative "conglomerate/collection_builder"
require_relative "conglomerate/root_builder"

module Conglomerate
  def self.serialize(serializable)
    Conglomerate::TreeSerializer.new(serializable).serialize
  end

  def self.serializer
    Module.new do
      def self.included(descendant)
        descendant.send(:include, ::Conglomerate::Serializer)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
conglomerate-0.15.0 lib/conglomerate.rb