Skip to content

Instantly share code, notes, and snippets.

@johnwake
Created February 5, 2014 17:51
Show Gist options
  • Save johnwake/8829455 to your computer and use it in GitHub Desktop.
Save johnwake/8829455 to your computer and use it in GitHub Desktop.
Publish features
require 'rubygems'
require 'sinatra'
get '/' do
home = Dir.chdir("/features")
File.read(File.join('home', "#{home}"))
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment