mirror of
https://github.com/XAMPPRocky/tokei
synced 2024-07-02 15:08:40 +00:00
Added config so "/usr/bin/env ruby" works (#344)
This commit is contained in:
parent
354948df02
commit
afcaf0418f
|
@ -1388,6 +1388,9 @@
|
|||
["\\\"", "\\\""],
|
||||
["'", "'"]
|
||||
],
|
||||
"env":[
|
||||
"ruby"
|
||||
],
|
||||
"extensions":[
|
||||
"rb"
|
||||
]
|
||||
|
|
11
tests/data/ruby_env
Normal file
11
tests/data/ruby_env
Normal file
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env ruby
|
||||
# 11 lines 3 code 6 comments 2 blanks
|
||||
|
||||
=begin
|
||||
Comment that only counts if detected as ruby
|
||||
Comments
|
||||
=end
|
||||
|
||||
while x > 2 and x < 10
|
||||
x += 1
|
||||
end
|
Loading…
Reference in New Issue
Block a user