Class: Fiesta::AutoComposedStory

Inherits:
Story
  • Object
show all
Defined in:
lib/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



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

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

#release_noteObject



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

def release_note
  release_note_in_body
end