Module: Pv

Defined in:
lib/pv.rb,
lib/pv/story.rb,
lib/pv/command.rb,
lib/pv/version.rb,
lib/pv/bug_tracker.rb,
lib/pv/configuration.rb

Defined Under Namespace

Classes: BugTracker, Command, Configuration, Story

Constant Summary collapse

VERSION =
"0.0.9.1"

Class Method Summary collapse

Class Method Details

.configObject

Load YAML configuration



12
13
14
# File 'lib/pv.rb', line 12

def self.config
  @config ||= Pv::Configuration.new
end

.rootObject

Find where this code lives



22
23
24
25
26
27
# File 'lib/pv.rb', line 22

def self.root
  @root ||= begin
    spec = Gem::Specification.find_by_name 'pv'
    spec.gem_dir
  end
end

.trackerObject

Connect to Pivotal Tracker



17
18
19
# File 'lib/pv.rb', line 17

def self.tracker
  @tracker ||= Pv::BugTracker.new
end