Sha256: b0f928abf1bb3c90e16bc9c60c64176380564da0abb6c83d922d538b753fb2fb
Contents?: true
Size: 509 Bytes
Versions: 6
Compression:
Stored size: 509 Bytes
Contents
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 File.expand_path('../../lib/rabl',__FILE__) end Riot.pretty_dots class Riot::Situation # Custom situation code here end class Riot::Context # Custom context code here end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
rabl-0.7.1 | test/teststrap.rb |
rabl-0.7.0 | test/teststrap.rb |
rabl-0.6.14 | test/teststrap.rb |
rabl-0.6.13 | test/teststrap.rb |
rabl-0.6.12 | test/teststrap.rb |
rabl-0.6.11 | test/teststrap.rb |