Sha256: 60dd21f42d32d6b8652b9af4be956d4fd285a35bbfaf2cf456ef40d670c9d81d

Contents?: true

Size: 313 Bytes

Versions: 19

Compression:

Stored size: 313 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
    "open https://www.pivotaltracker.com/story/show/#{story_id}"
  end

  def run!
    system cmd
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
pivotal-github-0.6.14 lib/pivotal-github/story_open.rb
pivotal-github-0.6.12 lib/pivotal-github/story_open.rb
pivotal-github-0.6.11 lib/pivotal-github/story_open.rb
pivotal-github-0.6.10 lib/pivotal-github/story_open.rb
pivotal-github-0.6.9 lib/pivotal-github/story_open.rb
pivotal-github-0.6.8 lib/pivotal-github/story_open.rb
pivotal-github-0.6.7 lib/pivotal-github/story_open.rb
pivotal-github-0.6.6 lib/pivotal-github/story_open.rb
pivotal-github-0.6.5 lib/pivotal-github/story_open.rb
pivotal-github-0.6.4 lib/pivotal-github/story_open.rb
pivotal-github-0.6.3 lib/pivotal-github/story_open.rb
pivotal-github-0.6.2 lib/pivotal-github/story_open.rb
pivotal-github-0.6.1 lib/pivotal-github/story_open.rb
pivotal-github-0.6.0 lib/pivotal-github/story_open.rb
pivotal-github-0.5.6 lib/pivotal-github/story_open.rb
pivotal-github-0.5.5 lib/pivotal-github/story_open.rb
pivotal-github-0.5.4 lib/pivotal-github/story_open.rb
pivotal-github-0.5.3 lib/pivotal-github/story_open.rb
pivotal-github-0.5.2 lib/pivotal-github/story_open.rb