Class: Capistrano::Fiesta::Story
- Inherits:
-
Object
- Object
- Capistrano::Fiesta::Story
- Defined in:
- lib/capistrano/fiesta/story.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#images ⇒ Object
13 14 15 |
# File 'lib/capistrano/fiesta/story.rb', line 13 def images pr.body.to_s.scan(/https?:\/\/\S*\.(?:png|jpg|gif)/i) end |
#release_note ⇒ Object
9 10 11 |
# File 'lib/capistrano/fiesta/story.rb', line 9 def release_note (release_note_in_body || title).strip end |
#to_markdown ⇒ Object
21 22 23 |
# File 'lib/capistrano/fiesta/story.rb', line 21 def to_markdown "- [#{title}](#{url})" end |
#url ⇒ Object
17 18 19 |
# File 'lib/capistrano/fiesta/story.rb', line 17 def url pr.html_url end |