# File lib/rcodetools/xmptestunitfilter.rb, line 123 123: def initialize(x={}) 124: super(x.merge(:_no_extend_module => true)) 125: load_rspec 126: specver = (Spec::VERSION::STRING rescue "1.0.0") 127: api_module = specver >= "0.8.0" ? NewAPI : OldAPI 128: mod = @parentheses ? :WithParentheses : :Poetry 129: extend api_module.const_get(mod) 130: extend api_module 131: end
# File lib/rcodetools/xmptestunitfilter.rb, line 148 148: def interpreter_command 149: [@interpreter] + @libs.map{|x| "-r#{x}"} 150: end
# File lib/rcodetools/xmptestunitfilter.rb, line 134 134: def load_rspec 135: begin 136: require 'spec/version' 137: rescue LoadError 138: require 'rubygems' 139: begin 140: require 'spec/version' 141: rescue LoadError # if rspec isn't available, use most recent conventions 142: end 143: end 144: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.