Class: UiBibz::ViewObjects::GlyphComponentViewObject
- Inherits:
-
Object
- Object
- UiBibz::ViewObjects::GlyphComponentViewObject
- Defined in:
- lib/ui_bibz/view_objects/glyph_component_view_object.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(options, content = nil) ⇒ GlyphComponentViewObject
constructor
A new instance of GlyphComponentViewObject.
- #render ⇒ Object
Constructor Details
#initialize(options, content = nil) ⇒ GlyphComponentViewObject
Returns a new instance of GlyphComponentViewObject.
8 9 10 11 |
# File 'lib/ui_bibz/view_objects/glyph_component_view_object.rb', line 8 def initialize(, content = nil) @options = @content = content end |
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content.
6 7 8 |
# File 'lib/ui_bibz/view_objects/glyph_component_view_object.rb', line 6 def content @content end |
#options ⇒ Object
Returns the value of attribute options.
6 7 8 |
# File 'lib/ui_bibz/view_objects/glyph_component_view_object.rb', line 6 def @options end |