Class: Guider::GuideFactory
- Inherits:
-
Object
- Object
- Guider::GuideFactory
- Defined in:
- lib/guider/guide_factory.rb
Overview
Creates Guide instances
Instance Method Summary collapse
-
#create(filename) ⇒ Object
Creates new Guide instance from filename.
-
#initialize(options) ⇒ GuideFactory
constructor
A new instance of GuideFactory.
Constructor Details
#initialize(options) ⇒ GuideFactory
Returns a new instance of GuideFactory.
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/guider/guide_factory.rb', line 8 def initialize() # Configure {@link} tags. @inline_tags = InlineTags.new @inline_tags.link_url = [:link_url] # Create guide rendering template @tpl = DefaultTemplate.new([:tpl_dir] + "/guide.html", ) @options = end |