Methods

Files

Rcodetools::XMPRSpecFilter

Public Class Methods

new(x={}) click to toggle source
# 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

[Validate]

Generated with the Darkfish Rdoc Generator 2.