Skip to content
This repository has been archived by the owner on Oct 27, 2021. It is now read-only.

Commit

Permalink
rcov madness
Browse files Browse the repository at this point in the history
  • Loading branch information
dchelimsky committed Mar 20, 2009
1 parent ed27d45 commit 8acfd8a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/spec/example/subject.rb
Expand Up @@ -16,8 +16,7 @@ module ExampleGroupMethods
# See +ExampleMethods#should+ for more information about this approach.
def subject(&block)
block.nil? ?
explicit_subject || implicit_subject :
@_explicit_subject_block = block
explicit_subject || implicit_subject : @_explicit_subject_block = block
end

def explicit_subject
Expand Down

0 comments on commit 8acfd8a

Please sign in to comment.