Sha256: b1febb0b927b62f91bb17f896837325f0c1586fbfae89c6c9b77726e1f5954b9
Contents?: true
Size: 285 Bytes
Versions: 15
Compression:
Stored size: 285 Bytes
Contents
class String # 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
Version data entries
15 entries across 15 versions & 1 rubygems