Class: SvgSprite::Source
- Inherits:
-
Object
- Object
- SvgSprite::Source
- Defined in:
- lib/svg_sprite/source.rb
Instance Method Summary collapse
- #each(&block) ⇒ Object
-
#initialize(directory) ⇒ Source
constructor
A new instance of Source.
- #to_a ⇒ Object
Constructor Details
#initialize(directory) ⇒ Source
Returns a new instance of Source.
3 4 5 |
# File 'lib/svg_sprite/source.rb', line 3 def initialize(directory) @directory = directory end |