Skip to content

Commit

Permalink
add lib/coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoqun committed May 18, 2012
1 parent ee5fa55 commit 55f7df7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/coverage.rb
@@ -0,0 +1,10 @@
module Coverage
class << self
def start(*args)
end

def result
Hash[Rubinius.coverage.to_a.collect{|f,c| c.shift; [f.to_s, c]}]
end
end
end

0 comments on commit 55f7df7

Please sign in to comment.