Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

33 lines (26 sloc) 0.588 kB
$LOAD_PATH.unshift(File.expand_path("../../lib", __FILE__))
module Kernel
def silence_warnings
with_warnings(nil) { yield }
end
def with_warnings(flag)
old_verbose, $VERBOSE = $VERBOSE, flag
yield
ensure
$VERBOSE = old_verbose
end
end unless Kernel.respond_to? :silence_warnings
silence_warnings do
require 'riot'
require 'riot/rr'
require 'tilt'
require 'rabl'
require File.expand_path('../models/user', __FILE__)
end
Riot.pretty_dots
class Riot::Situation
# Custom situation code here
end
class Riot::Context
# Custom context code here
end
Jump to Line
Something went wrong with that request. Please try again.