Class: Lablr::TemplateStyle
- Inherits:
-
Object
- Object
- Lablr::TemplateStyle
- Defined in:
- lib/lablr.rb
Overview
visual styles for Templates
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ TemplateStyle
constructor
A new instance of TemplateStyle.
Constructor Details
#initialize(options = {}) ⇒ TemplateStyle
Returns a new instance of TemplateStyle.
32 33 34 35 36 37 |
# File 'lib/lablr.rb', line 32 def initialize( = {}) # Set defaults [:borders] = true if [:borders].nil? # border around labels @options = end |
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
30 31 32 |
# File 'lib/lablr.rb', line 30 def @options end |