Class: GitFlower::FeatureCLI
- Inherits:
-
Thor
- Object
- Thor
- GitFlower::FeatureCLI
- Defined in:
- lib/git_flower/feature-cli.rb
Instance Method Summary collapse
Instance Method Details
#create(story_name) ⇒ Object
38 39 40 41 42 43 44 |
# File 'lib/git_flower/feature-cli.rb', line 38 def create(story_name) feature = Feature.new( story_name: story_name, labels: [:labels], ) feature.save! end |