This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /usr/lib/ruby/gems/1.9.1/gems/rack-1.0.1/lib/rack/lint.rb: in assert | |
11. | |
12. # :stopdoc: | |
13. | |
14. class LintError < RuntimeError; end | |
15. module Assertion | |
16. def assert(message, &block) | |
17. unless block.call |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$:.unshift File.join(File.dirname(__FILE__), "..", "lib") | |
require 'rubygems' | |
require 'sinatra' | |
get '/' do | |
"Hello World" | |
end |
NewerOlder