Class: Capistrano::Fiesta::AutoComposedStory

Inherits:
Story
  • Object
show all
Defined in:
lib/capistrano/fiesta/auto_composed_story.rb

Constant Summary collapse

SCREENSHOT_TAG =
"#"

Instance Method Summary collapse

Methods inherited from Story

#to_markdown, #url

Instance Method Details

#imagesObject



10
11
12
# File 'lib/capistrano/fiesta/auto_composed_story.rb', line 10

def images
  pr.body.to_s.scan(/https?:\/\/\S*\.(?:png|jpg|gif)#{SCREENSHOT_TAG}/i)
end

#release_noteObject



6
7
8
# File 'lib/capistrano/fiesta/auto_composed_story.rb', line 6

def release_note
  release_note_in_body
end