Sha256: e15da3bba8b530fc1b3e7e1fec78aedb96b50d9eadeb3cdfb6199ebeda759cbb

Contents?: true

Size: 340 Bytes

Versions: 1

Compression:

Stored size: 340 Bytes

Contents

require "code_sync/processors/jst_processor"

module CodeSync
  module Processors
    Map = {
      ".jst.skim" => CodeSync::Processors::JstProcessor
    }
  end

  def self.lookup_processor_for_extension(extension)
    if processor = Processors::Map[extension]
      processor
    else
      CodeSync::Processors::Basic
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
code_sync-0.6.7 lib/code_sync/processors.rb