Class: Mantis::CLI::Install

Inherits:
Object
  • Object
show all
Defined in:
lib/mantis/cli/install.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Install

Returns a new instance of Install.



5
6
7
# File 'lib/mantis/cli/install.rb', line 5

def initialize(options)
  @options = options.dup
end

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



3
4
5
# File 'lib/mantis/cli/install.rb', line 3

def options
  @options
end

Instance Method Details

#runObject



9
10
11
12
# File 'lib/mantis/cli/install.rb', line 9

def run
  Installer.install(options)
  puts "Your bundle is complete!"
end