Module: RSpec::Matchers::DelegateMatcher::Block
Instance Attribute Summary collapse
-
#block ⇒ Object
Returns the value of attribute block.
Instance Method Summary collapse
Instance Attribute Details
#block ⇒ Object
Returns the value of attribute block.
5 6 7 |
# File 'lib/delegate_matcher/block.rb', line 5 def block @block end |
Instance Method Details
#block_source ⇒ Object
7 8 9 |
# File 'lib/delegate_matcher/block.rb', line 7 def block_source ProcSource.new(block) end |