# File lib/rcodetools/xmptestunitfilter.rb, line 123 def initialize(x={}) super(x.merge(:_no_extend_module => true)) load_rspec specver = (Spec::VERSION::STRING rescue "1.0.0") api_module = specver >= "0.8.0" ? NewAPI : OldAPI mod = @parentheses ? :WithParentheses : :Poetry extend api_module.const_get(mod) extend api_module end