class StoryOpen

Public Instance Methods

cmd() click to toggle source

Returns a command appropriate for executing at the command line I.e., ‘open www.pivotaltracker.com/story/show/62831853

# File lib/pivotal-github/story_open.rb, line 9
def cmd
  story_ids.map { |id| "open #{story_url(id)}" }.join(' ; ')
end
run!() click to toggle source
# File lib/pivotal-github/story_open.rb, line 13
def run!
  system cmd
end