Sha256: c5175a4115d1d0d42ba316a40e9a3cff3fdf70a317acd4ffe5e0726475ec3522

Contents?: true

Size: 456 Bytes

Versions: 1

Compression:

Stored size: 456 Bytes

Contents

require 'protoable/convert'
require 'protoable/errors'
require 'protoable/fields'
require 'protoable/persistence'
require 'protoable/scope'
require 'protoable/serialization'

module Protoable
  def self.included(klass)
    klass.extend Protoable::Fields
    klass.extend Protoable::Scope

    klass.__send__(:include, Protoable::Convert)
    klass.__send__(:include, Protoable::Persistence)
    klass.__send__(:include, Protoable::Serialization)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
protobuf-activerecord-1.1.0 lib/protoable.rb