Sha256: eaf54165b8abdf8f6510b4e27b3489e7fc92328cdbe9299d6c147c7f9a3eaad7
Contents?: true
Size: 355 Bytes
Versions: 2
Compression:
Stored size: 355 Bytes
Contents
require 'pivotal-github/command' class StoryOpen < Command # Returns a command appropriate for executing at the command line # I.e., 'open https://www.pivotaltracker.com/story/show/6283185' def cmd story_ids.map do |id| "open https://www.pivotaltracker.com/story/show/#{id}" end.join(' ; ') end def run! system cmd end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pivotal-github-0.8.0 | lib/pivotal-github/story_open.rb |
pivotal-github-0.7.0 | lib/pivotal-github/story_open.rb |