Sha256: 8f20566efacdf8b38a97999526604968e8be5c254a5621d27df7754474d2003a
Contents?: true
Size: 883 Bytes
Versions: 67
Compression:
Stored size: 883 Bytes
Contents
module Picky module Generators module Client # Generates a new Picky Sinatra Client Example. # # Example: # > picky-generate sinatra_client my_lovely_sinatra # class Sinatra < Picky::Generators::Base def initialize identifier, name, *args super identifier, name, 'client/sinatra', *args end # # def generate exclaim "Setting up Picky Sinatra Client \"#{name}\"." create_target_directory copy_all_files exclaim "\"#{name}\" is a great project name! Have fun :)\n" exclaim "" exclaim "Next steps:" exclaim "cd #{name}" exclaim "bundle install" exclaim "unicorn -p 3000 # (optional) Or use your favorite web server." exclaim "" end end end end end
Version data entries
67 entries across 67 versions & 1 rubygems