Class: Algerb::App

Inherits:
Thor
  • Object
show all
Defined in:
lib/algerb/app.rb

Instance Method Summary collapse

Instance Method Details

#generateObject



10
11
12
13
14
# File 'lib/algerb/app.rb', line 10

def generate
  open(options[:output], 'w') do |file|
    file.puts ::Algerb::Generator.new.generate(target_files(options['target']))
  end
end