class RSpec::Rails::HyperShortcut::MatcherPlaceholder
Public Class Methods
new(name,args)
click to toggle source
# File lib/rspec/rails/extra/routing/hyper_shortcut/matcher_placeholder.rb, line 3 def initialize(name,args) @name = name @args = args end
Public Instance Methods
build_matcher_in(example)
click to toggle source
# File lib/rspec/rails/extra/routing/hyper_shortcut/matcher_placeholder.rb, line 8 def build_matcher_in(example) example.send(@name,*@args) end