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.8"
Class Method Summary collapse
-
.config ⇒ Object
Load YAML configuration.
-
.root ⇒ Object
Find where this code lives.
-
.tracker ⇒ Object
Connect to Pivotal Tracker.
Class Method Details
.config ⇒ Object
Load YAML configuration
12 13 14 |
# File 'lib/pv.rb', line 12 def self.config @config ||= Pv::Configuration.new end |
.root ⇒ Object
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 |
.tracker ⇒ Object
Connect to Pivotal Tracker
17 18 19 |
# File 'lib/pv.rb', line 17 def self.tracker @tracker ||= Pv::BugTracker.new end |