Sha256: 969628bae9e90de4918c404ee1f27f17585136e125360daea8f4147cd4d13136
Contents?: true
Size: 359 Bytes
Versions: 16
Compression:
Stored size: 359 Bytes
Contents
require 'pivotal-github/command' require 'pivotal-github/story' class StoryOpen < Command include Story # Returns a command appropriate for executing at the command line # I.e., 'open https://www.pivotaltracker.com/story/show/62831853' def cmd story_ids.map { |id| "open #{story_url(id)}" }.join(' ; ') end def run! system cmd end end
Version data entries
16 entries across 16 versions & 1 rubygems