class RSpec::ExpectIt::ExpectationTargets::ExpectIts
Attributes
method[RW]
Public Class Methods
new(context, method)
click to toggle source
Calls superclass method
RSpec::ExpectIt::ExpectationTargets::ExpectIt::new
# File lib/rspec/expect_it/expectation_targets/expect_its.rb, line 7 def initialize(context, method) super(context) self.method = method end
Private Instance Methods
get_subject()
click to toggle source
# File lib/rspec/expect_it/expectation_targets/expect_its.rb, line 14 def get_subject context.subject.send(method) end