Class: XCCache::Command::Remote
- Inherits:
-
XCCache::Command
- Object
- CLAide::Command
- XCCache::Command
- XCCache::Command::Remote
- Defined in:
- lib/xccache/command/remote.rb,
lib/xccache/command/remote/pull.rb,
lib/xccache/command/remote/push.rb
Defined Under Namespace
Instance Attribute Summary
Attributes inherited from XCCache::Command
#build_options, #install_options
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(argv) ⇒ Remote
constructor
A new instance of Remote.
- #storage ⇒ Object
Methods inherited from XCCache::Command
Methods included from XCCache::Config::Mixin
Constructor Details
#initialize(argv) ⇒ Remote
Returns a new instance of Remote.
18 19 20 21 |
# File 'lib/xccache/command/remote.rb', line 18 def initialize(argv) super @branch = argv.option("branch", "main") end |
Class Method Details
Instance Method Details
#storage ⇒ Object
23 24 25 |
# File 'lib/xccache/command/remote.rb', line 23 def storage @storage ||= create_storage end |