lib/metric_fu/base.rb in p8-metric_fu-0.8.4.16 vs lib/metric_fu/base.rb in p8-metric_fu-0.8.9
- old
+ new
@@ -68,12 +68,12 @@
end
def link_to_filename(name, line = nil)
filename = File.expand_path(name)
if PLATFORM['darwin']
- %{<a href="txmt://open/?url=file://#{filename}&line=#{line}">#{name}</a>}
+ %{<a href="txmt://open/?url=file://#{filename}&line=#{line}">#{name}:#{line}</a>}
else
- %{<a href="file://#{filename}">#{name}</a>}
+ %{<a href="file://#{filename}">#{name}:#{line}</a>}
end
end
def cycle(first_value, second_value, iteration)
return first_value if iteration % 2 == 0
\ No newline at end of file