Class: Victor::CLI::Commands::Render

Inherits:
Base
  • Object
show all
Defined in:
lib/victor/cli/commands/render.rb

Instance Method Summary collapse

Instance Method Details

#runObject



23
24
25
26
27
28
29
# File 'lib/victor/cli/commands/render.rb', line 23

def run
  if args['--watch']
    watch { generate }
  else
    generate
  end
end