Skip to content

Commit

Permalink
add jrubyrc
Browse files Browse the repository at this point in the history
  • Loading branch information
danmayer committed Apr 18, 2020
1 parent f6ceb95 commit d227651
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions .jrubyrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
debug.fullTrace=true
12 changes: 12 additions & 0 deletions test/big_dog.rb.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# frozen_string_literal: true

class Dog<%=dog_number%>

def self.bark
new.bark
end

def bark
'woof'
end
end
14 changes: 14 additions & 0 deletions test/jruby_check.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
require 'coverage'

Coverage.start

require './test/dog.rb'

puts Coverage.peek_result

puts Dog.new.bark

puts Coverage.peek_result

puts "done"

0 comments on commit d227651

Please sign in to comment.