class Hyalite::ElementObject

Attributes

key[R]
owner[R]
parent[RW]
props[R]
ref[R]
type[R]

Public Class Methods

new(type, key, ref, owner, props) click to toggle source
# File lib/hyalite/element.rb, line 6
def initialize(type, key, ref, owner, props)
  @type = type
  @key = key
  @ref = ref
  @owner = owner
  @props = props
end

Public Instance Methods

inspect() click to toggle source
# File lib/hyalite/element.rb, line 14
def inspect
  "<#{type} #{props && props.inspect} />"
end