Sha256: 9c9d65e940bf1be8fedfb01c2da7b3cce01d9d2085601d285cbb662fa49eb7d3

Contents?: true

Size: 321 Bytes

Versions: 14

Compression:

Stored size: 321 Bytes

Contents

module Hyalite
  class ElementObject
    attr_reader :type, :key, :ref, :props, :owner

    def initialize(type, key, ref, owner, props)
      @type = type
      @key = key
      @ref = ref
      @owner = owner
      @props = props
    end

    def inspect
      "<#{type} #{props && props.inspect} />"
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
hyalite-0.2.6 lib/hyalite/element.rb
hyalite-0.2.5 lib/hyalite/element.rb
hyalite-0.2.4 lib/hyalite/element.rb
hyalite-0.2.3 lib/hyalite/element.rb
hyalite-0.2.2 lib/hyalite/element.rb
hyalite-0.2.1 lib/hyalite/element.rb
hyalite-0.2.0 lib/hyalite/element.rb
hyalite-0.1.1 client/hyalite/element.rb
hyalite-0.1.0 client/hyalite/element.rb
hyalite-0.0.6 client/hyalite/element.rb
hyalite-0.0.5 client/hyalite/element.rb
hyalite-0.0.4 client/hyalite/element.rb
hyalite-0.0.3 client/hyalite/element.rb
hyalite-0.0.2 client/hyalite/element.rb