Class: MetaRuby::GUI::HTML::Collection::Element

Inherits:
Struct
  • Object
show all
Defined in:
lib/metaruby/gui/html/collection.rb

Overview

Representation of an element in the collection

Instance Attribute Summary collapse

Instance Attribute Details

#attributesObject

Returns the value of attribute attributes

Returns:

  • (Object)

    the current value of attributes



23
24
25
# File 'lib/metaruby/gui/html/collection.rb', line 23

def attributes
  @attributes
end

#formatObject

Returns the value of attribute format

Returns:

  • (Object)

    the current value of format



23
24
25
# File 'lib/metaruby/gui/html/collection.rb', line 23

def format
  @format
end

#objectObject

Returns the value of attribute object

Returns:

  • (Object)

    the current value of object



23
24
25
# File 'lib/metaruby/gui/html/collection.rb', line 23

def object
  @object
end

#rendering_optionsObject

Returns the value of attribute rendering_options

Returns:

  • (Object)

    the current value of rendering_options



23
24
25
# File 'lib/metaruby/gui/html/collection.rb', line 23

def rendering_options
  @rendering_options
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



23
24
25
# File 'lib/metaruby/gui/html/collection.rb', line 23

def text
  @text
end

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



23
24
25
# File 'lib/metaruby/gui/html/collection.rb', line 23

def url
  @url
end