Class: OpenComponents::Template
- Inherits:
-
Struct
- Object
- Struct
- OpenComponents::Template
- Defined in:
- lib/opencomponents.rb
Overview
Internal: Wrapper object for pre-rendered OC templates.
src - String for the template URL. type - String for template engine type. key - String for template key.
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
-
#src ⇒ Object
Returns the value of attribute src.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key
33 34 35 |
# File 'lib/opencomponents.rb', line 33 def key @key end |
#src ⇒ Object
Returns the value of attribute src
33 34 35 |
# File 'lib/opencomponents.rb', line 33 def src @src end |
#type ⇒ Object
Returns the value of attribute type
33 34 35 |
# File 'lib/opencomponents.rb', line 33 def type @type end |