class RSpec::Config
Public Class Methods
new()
click to toggle source
Calls superclass method
# File lib/pork-rspec/config.rb, line 4 def initialize super([]) end
Public Instance Methods
after(*types)
click to toggle source
# File lib/pork-rspec/config.rb, line 16 def after *types end
around(*types, &block)
click to toggle source
# File lib/pork-rspec/config.rb, line 19 def around *types, &block before(*types, &block) after(*types, &block) end
before(*types)
click to toggle source
# File lib/pork-rspec/config.rb, line 13 def before *types end
include(mod, *args)
click to toggle source
# File lib/pork-rspec/config.rb, line 8 def include mod, *args modules << mod warn("Ignored include arguments: #{args}") if args.any? end
method_missing(msg, *args)
click to toggle source
# File lib/pork-rspec/config.rb, line 24 def method_missing msg, *args warn("Unrecognized configuration: #{msg}(*#{args})") end