Sha256: bacef98e8b92324d1f9c19a8ba6c4ee7230feffafc671ae65bf345149069b263
Contents?: true
Size: 867 Bytes
Versions: 2
Compression:
Stored size: 867 Bytes
Contents
class Brief::Apps::Blueprint::Feature include Brief::Model defined_in Pathname(__FILE__) meta do title project owner status :in => %w(draft published) persona goal behavior epic remote_id tags Array end template :file => "feature.md.erb" content do persona "p strong:first-child" behavior "p strong:second-child" goal "p strong:third-child" settings "pre[lang='yaml'] code:first-of-type", :serialize => :yaml, :hide => true end actions do def publish BlueprintFeaturePublisher.publish(self, via: briefcase.settings.try(:tracking_system)) end def sync BlueprintFeaturePublisher.sync(self, via: briefcase.settings.try(:tracking_system)) end end helpers do def parent_epic briefcase.epics(title: epic, project: data.project).first end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
brief-1.17.2 | apps/blueprint/models/feature.rb |
brief-1.17.1 | apps/blueprint/models/feature.rb |