ir_b 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/ir_b.rb +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.1
|
data/lib/ir_b.rb
CHANGED
@@ -29,7 +29,7 @@ module IrB
|
|
29
29
|
def -(_binding)
|
30
30
|
file = _binding.eval '__FILE__'
|
31
31
|
ir_b_line = _binding.eval '__LINE__'
|
32
|
-
puts "#{file}:#{ir_b_line} \e[90mtxmt://open/?url=file://#{ File.expand_path
|
32
|
+
puts "#{file}:#{ir_b_line} \e[90mtxmt://open/?url=file://#{ File.expand_path(file).sub(File.expand_path('~'), '~') }&line=#{ ir_b_line }\e[0m"
|
33
33
|
|
34
34
|
File.open(file).each_with_index do |line, index|
|
35
35
|
line_n = index + 1
|