Class: Vito::ShellInitializer

Inherits:
Object
  • Object
show all
Defined in:
lib/vito/shell_initializer.rb

Instance Method Summary collapse

Constructor Details

#initialize(argv) ⇒ ShellInitializer

Returns a new instance of ShellInitializer.



5
6
7
# File 'lib/vito/shell_initializer.rb', line 5

def initialize(argv)
  @argv = argv
end

Instance Method Details

#runObject



9
10
11
# File 'lib/vito/shell_initializer.rb', line 9

def run
  Vito::DslFile.new(argv).run(vito_file)
end