Sha256: 34bd693c757ba583bd6f778566aacc856d165eeb57607a67992b74be8b1d450b

Contents?: true

Size: 296 Bytes

Versions: 6

Compression:

Stored size: 296 Bytes

Contents

module Shutterbug
  class JsFile   < BugFile
    def initialize(_config=Configuration.instance())
      @config = _config
      @javascript = File.read(@config.js_file).gsub(/CONVERT_PATH/,@config.convert_path)
    end
    def open
      @stream_file = StringIO.new(@javascript)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
shutterbug-0.0.11 lib/shutterbug/js_file.rb
shutterbug-0.0.10 lib/shutterbug/js_file.rb
shutterbug-0.0.9 lib/shutterbug/js_file.rb
shutterbug-0.0.8 lib/shutterbug/js_file.rb
shutterbug-0.0.7 lib/shutterbug/js_file.rb
shutterbug-0.0.6 lib/shutterbug/js_file.rb