class Cir::Cli::CommandWithRepository

Parent command class that initializes repository instance

Attributes

repository[RW]

Repository instance

Public Class Methods

new() click to toggle source
Calls superclass method Cir::Cli::Command::new
# File lib/cir/cli/command_with_repository.rb, line 24
def initialize
  # Initialize parent class first
  super

  # For all our other commands we need to have repository available
  self.repository = Cir::Repository.new(@cirHome)
end