Sha256: 098e9b178718ec1b67fb6cca86166674d4d17c091d6fb7b6c731b456ec2a7d1e
Contents?: true
Size: 338 Bytes
Versions: 1
Compression:
Stored size: 338 Bytes
Contents
require 'pry' module CodeSync module Processors class JstProcessor def self.process contents,filename="adhoc",extension=".jst" contents.match(/this.JST\[(.*)\]/) do |match| if match[1] contents[match[1]] = "\"#{filename}\"" end end contents end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
code_sync-0.6.7 | lib/code_sync/processors/jst_processor.rb |