Sha256: 386d826e8bf5f404539a58730a38cb66af989dd2f15ca1e411d1069f61265a9d

Contents?: true

Size: 244 Bytes

Versions: 6

Compression:

Stored size: 244 Bytes

Contents

require 'optparse'
require 'rubygems'
require 'ruby-station'; RubyStation.parse_argv
require 'sinatra'

File.open("#{RubyStation.data_dir}/hello.txt", "w"){|f|
  f.print "hello"
}

get '/' do
  'Hello, world!'
end

set :port, RubyStation.port

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ruby-station-0.1.6 tests/data/hello/main.rb
ruby-station-0.1.5 tests/data/hello/main.rb
ruby-station-0.1.4 tests/data/hello/main.rb
ruby-station-0.1.4.rc3 tests/data/hello/main.rb
ruby-station-0.1.4.rc2 tests/data/hello/main.rb
ruby-station-0.1.4.rc1 tests/data/hello/main.rb