class Crokus::Cleaner
Public Instance Methods
clean(str_c)
click to toggle source
# File lib/crokus/cleaner.rb, line 3 def clean str_c str_c.gsub!(";)",")") str_c.gsub!(/\n+\s*\;/,";") str_c.gsub!(/\;\s*\:/,":") str_c.gsub!(/\n\s+\{/,"{") str_c.gsub!(/\;+/,";") str_c end
debug(str_c)
click to toggle source
# File lib/crokus/cleaner.rb, line 12 def debug str_c puts "hit a key" $stdin.gets.chomp puts str_c end