Class: Contracto::Command::Start::Remote

Inherits:
Object
  • Object
show all
Defined in:
lib/contracto/command/start/remote.rb

Instance Method Summary collapse

Constructor Details

#initialize(repo_url) ⇒ Remote

Returns a new instance of Remote.



2
3
4
# File 'lib/contracto/command/start/remote.rb', line 2

def initialize(repo_url)
  Contracto::Config.repo_url = repo_url
end

Instance Method Details

#executeObject



6
7
8
9
# File 'lib/contracto/command/start/remote.rb', line 6

def execute
  puts "downloading contract from #{Contracto::Config.repo_url}"
  Contracto::SystemActionChain.new(*actions).execute
end