Class: Origen::RevisionControl::Perforce
- Defined in:
- lib/origen/revision_control/perforce.rb
Instance Attribute Summary
Attributes inherited from Base
#local, #remote, #remotes_method
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Perforce
constructor
A new instance of Perforce.
Methods inherited from Base
#build, #changes, #checkin, #checkout, #current_branch, #diff_cmd, #dssc?, #git?, #local_modifications, #p4?, #root, #svn?, #unmanaged
Constructor Details
#initialize(options = {}) ⇒ Perforce
Returns a new instance of Perforce.
4 5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/origen/revision_control/perforce.rb', line 4 def initialize( = {}) 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_() end |