Closed ahawkins closed 12 years ago
See docs and tests.
Here are the additions to the DSL:
match "**/*js" do # basic gsubbing gsub /\/\/\w+$/, "no comments allowed!" # block syntax works gsub /.+/ do |match| # process things end # gsub filter with no replacement strip /Ember.assert\(.+\);/ end
See docs and tests.
Here are the additions to the DSL: