Class: XRB::Element

Inherits:
Object
  • Object
show all
Defined in:
app/models/xrb/element.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#attributesObject

Returns the value of attribute attributes.



3
4
5
# File 'app/models/xrb/element.rb', line 3

def attributes
  @attributes
end

#componentsObject

Returns the value of attribute components.



3
4
5
# File 'app/models/xrb/element.rb', line 3

def components
  @components
end

#contentObject

Returns the value of attribute content.



3
4
5
# File 'app/models/xrb/element.rb', line 3

def content
  @content
end

#inner_contentObject

Returns the value of attribute inner_content.



3
4
5
# File 'app/models/xrb/element.rb', line 3

def inner_content
  @inner_content
end

Instance Method Details

#to_sObject



5
6
7
# File 'app/models/xrb/element.rb', line 5

def to_s
  content
end