Sha256: b757b2374e422d36556b3113fed349be81cd3a7e4c2fdbcc7689ab1d89dd8458
Contents?: true
Size: 822 Bytes
Versions: 1
Compression:
Stored size: 822 Bytes
Contents
config do set(:models => Pathname(File.dirname(__FILE__)).join("models")) set(:templates => Pathname(File.dirname(__FILE__)).join("templates")) end view :table_of_contents do doc = Brief::Document.new(docs_path.join("index.md"), document_type: "outline") doc && doc.to_model end view :custom_aggregator do {aggregator:"custom"} end define "Release" do meta do name end end define "Outline" do meta do title end end define "Feature" do meta do title status :in => %w(draft published) epic_title end template :file => "feature.md.erb" content do persona "p strong:first-child" behavior "p strong:second-child" goal "p strong:third-child" end actions do def defined_helper_method true end def custom_action true end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
brief-1.10.0 | spec/fixtures/example/brief.rb |