class Origen::RevisionControl::Perforce

Public Class Methods

new(options = {}) click to toggle source
Calls superclass method Origen::RevisionControl::Base::new
# File lib/origen/revision_control/perforce.rb, line 4
def initialize(options = {})
  super
  begin
    require 'origen_perforce'
  rescue LoadError
    puts 'To use the Perforce revision control system with Origen, you must add the following gem to your Gemfile:'
    puts
    puts "  gem 'origen_perforce'"
    puts
    exit 1
  end
  _initialize_(options)
end