lib/stack/runner.rb in stack-0.0.2 vs lib/stack/runner.rb in stack-0.0.3
- old
+ new
@@ -1,10 +1,11 @@
module Stack
class Runner
attr_accessor :configuration
attr_accessor :command
attr_accessor :arguments
+ attr_accessor :generator
def initialize(argv)
@argv = argv
@options = { }
@@ -34,9 +35,10 @@
end
end
# Runs the specified command
def run_command
- Stack::Generator.new
+ @generator = Stack::Generator.new
+ @generator.transform!
end
end
end
\ No newline at end of file