Sha256: 579190e15d74339e46f0ca365e3ae3c0b336591b8c66fb9ddbbd0999fd68bb76

Contents?: true

Size: 525 Bytes

Versions: 1

Compression:

Stored size: 525 Bytes

Contents

require_relative 'sinatra_template/version'

class SinatraTemplate

  attr_reader :name

  def initialize(name="Sinatra_Template")
    @name = name
  end

  def run_once
    system("git clone https://github.com/Scully87/Sinatra_Template.git #{@name}")
  end

  def instructions
    puts "Hello and thank you for Downloading"
    puts "Follow these instructions:"
    puts "$ cd #{@name}"
    puts "$ bundle install"
    puts "$ rackup"
    puts "Open browser to localhost address"
    puts "Edit files accordingly"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sinatra_template-0.0.6 lib/sinatra_template.rb