Class: PPL::Command::Scan::Version
- Inherits:
-
PPL::Command::Scan
- Object
- CLAide::Command
- PPL::Command
- PPL::Command::Scan
- PPL::Command::Scan::Version
- Defined in:
- lib/pod-pipeline/command/scan/version.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(argv) ⇒ Version
constructor
A new instance of Version.
- #run ⇒ Object
Methods inherited from PPL::Command
#argv_extension, ensure_not_root_or_allowed!, git_version, options_extension, options_extension_hash, run, verify_minimum_git_version!, verify_xcode_license_approved!
Constructor Details
#initialize(argv) ⇒ Version
Returns a new instance of Version.
20 21 22 23 24 25 26 |
# File 'lib/pod-pipeline/command/scan/version.rb', line 20 def initialize(argv) @path = argv.arguments! @projectPath = @path.count.zero? ? Pathname.pwd.to_s : @path.first super end |
Class Method Details
.options ⇒ Object
16 17 18 |
# File 'lib/pod-pipeline/command/scan/version.rb', line 16 def self. [].concat(super) end |