lib/procemon/mpatch/string.rb in procemon-0.1.4 vs lib/procemon/mpatch/string.rb in procemon-0.1.5

- old
+ new

@@ -90,6 +90,18 @@ end end end + # this is a helper to create source strings from procs + def source_formater_for_line_sub + self.gsub!(';',"\n") + self.gsub!(/\bdo\b/,'{') + self.gsub!(/\bend\b/,'}') + + self.frequency(/{/)+ + self.frequency(/def/)- + self.frequency(/}/) + end + + end \ No newline at end of file