Sha256: c85db7fcee3d9c94e3370eedaa9511e2f19a26b1e8b6ae40d8a48c5ee8410920

Contents?: true

Size: 348 Bytes

Versions: 6

Compression:

Stored size: 348 Bytes

Contents

module LucidData
  module Document
    class Base
      include LucidData::Node::Mixin

      if RUBY_ENGINE != 'opal'
        def self.inherited(base)
          Isomorfeus.add_valid_data_class(base)
          base.prop :pub_sub_client, default: nil
          base.prop :current_user, default: Anonymous.new
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
isomorfeus-data-1.0.0.zeta12 lib/isomorfeus_data/lucid_data/document/base.rb
isomorfeus-data-1.0.0.zeta11 lib/isomorfeus_data/lucid_data/document/base.rb
isomorfeus-data-1.0.0.zeta10 lib/isomorfeus_data/lucid_data/document/base.rb
isomorfeus-data-1.0.0.zeta9 lib/isomorfeus_data/lucid_data/document/base.rb
isomorfeus-data-1.0.0.zeta8 lib/isomorfeus_data/lucid_data/document/base.rb
isomorfeus-data-1.0.0.zeta6 lib/isomorfeus_data/lucid_data/document/base.rb