Class: Milestoner::Builders::ASCIIDoc
- Inherits:
-
Object
- Object
- Milestoner::Builders::ASCIIDoc
- Defined in:
- lib/milestoner/builders/ascii_doc.rb
Overview
Builds ASCII Doc files.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(tagger: Tags::Enricher.new, view: Views::Milestones::Show.new) ⇒ ASCIIDoc
constructor
A new instance of ASCIIDoc.
Constructor Details
#initialize(tagger: Tags::Enricher.new, view: Views::Milestones::Show.new) ⇒ ASCIIDoc
Returns a new instance of ASCIIDoc.
16 17 18 19 20 |
# File 'lib/milestoner/builders/ascii_doc.rb', line 16 def initialize(tagger: Tags::Enricher.new, view: Views::Milestones::Show.new, **) super(**) @tagger = tagger @view = view end |
Instance Method Details
#call ⇒ Object
22 23 24 25 26 |
# File 'lib/milestoner/builders/ascii_doc.rb', line 22 def call tagger.call .fmap { || build } .alt_map { || failure } end |