Sha256: 369f80651263a7e5fe58581b85366f6932e96f428d8bb17b5714ada9ec0d067f

Contents?: true

Size: 393 Bytes

Versions: 6

Compression:

Stored size: 393 Bytes

Contents

module VraptorScaffold
  module Runner

    class Scaffold
      def run(args)
        if VraptorScaffold::Runner::Help.help? args.first
          ScaffoldGenerator.start(["-h"])
        elsif File.exist?("src")
          ScaffoldGenerator.new(args).invoke_all
        else
          puts "To run vraptor scaffold please go to the project root folder."
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
heroku-vraptor-scaffold-0.9.0 lib/vraptor-scaffold/runner/scaffold.rb
vraptor-scaffold-1.3.0 lib/vraptor-scaffold/runner/scaffold.rb
vraptor-scaffold-1.3.0.rc lib/vraptor-scaffold/runner/scaffold.rb
vraptor-scaffold-1.2.3 lib/vraptor-scaffold/runner/scaffold.rb
vraptor-scaffold-1.2.1 lib/vraptor-scaffold/runner/scaffold.rb
vraptor-scaffold-1.2.0 lib/vraptor-scaffold/runner/scaffold.rb