lib/remarkable/pending.rb in remarkable-3.0.10 vs lib/remarkable/pending.rb in remarkable-3.1.0
- old
+ new
@@ -45,10 +45,10 @@
if block_given? && @_pending_group
pending_caller = caller.detect{ |c| c !~ /method_missing'/ }
pending_description = @_pending_group_description
pending_block = if @_pending_group_execute
- proc{ pending(pending_description, &implementation) }
+ proc{ pending(pending_description){ self.instance_eval(&implementation) } }
else
proc{ pending(pending_description) }
end
super(description, options, backtrace || pending_caller, &pending_block)