aboutsummaryrefslogtreecommitdiff
path: root/example/example.rb
diff options
context:
space:
mode:
authorNat Lasseter <Nat Lasseter nathan@bytemark.co.uk>2019-01-09 20:28:56 +0000
committerNat Lasseter <Nat Lasseter nathan@bytemark.co.uk>2019-01-09 20:28:56 +0000
commiteb1fd5b48fc4a86dd7c5080695ac10ad4842a3ed (patch)
tree3f1a6dbd2e057481b0898913ab1f31acf59a0baa /example/example.rb
parentb4119d5372366ce817f063c279fa5a7b64f47fca (diff)
Change test to example. Change drumsticks to bundler. Remove needless bits of "futureproofing" from drum
Diffstat (limited to 'example/example.rb')
-rwxr-xr-xexample/example.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/example/example.rb b/example/example.rb
new file mode 100755
index 0000000..5aed8cb
--- /dev/null
+++ b/example/example.rb
@@ -0,0 +1,10 @@
+#!/usr/bin/env ruby
+
+require 'sinatra'
+
+set :bind, '0.0.0.0'
+set :port, 80
+
+get '/' do
+ 'Put this in your pipe & smoke it!'
+end