Class: Conquer::Dzen::Graphics::Icon
- Defined in:
- lib/conquer/dzen/graphics/icon.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path) ⇒ Icon
constructor
A new instance of Icon.
Methods inherited from Graphic
Methods included from Positioning
Constructor Details
#initialize(path) ⇒ Icon
Returns a new instance of Icon.
9 10 11 12 13 14 |
# File 'lib/conquer/dzen/graphics/icon.rb', line 9 def initialize(path) super() @path = path @template = '^i(%s)' @template_args = [path] end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
7 8 9 |
# File 'lib/conquer/dzen/graphics/icon.rb', line 7 def path @path end |