Sha256: ceec3609babbbc6921a118ff192d8750f0520a840e772cf9ff8770463480322a

Contents?: true

Size: 149 Bytes

Versions: 38

Compression:

Stored size: 149 Bytes

Contents

class Jcompiler::Cache
  @@store = {}

  def self.read(id, source, bind)
    @@store[id] ||= Jcompiler::Compiler.new(source, bind).compile
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
jcompiler-0.1.91 lib/jcompiler/cache.rb
jcompiler-0.1.90 lib/jcompiler/cache.rb
jcompiler-0.1.89 lib/jcompiler/cache.rb
jcompiler-0.1.88 lib/jcompiler/cache.rb
jcompiler-0.1.87 lib/jcompiler/cache.rb
jcompiler-0.1.86 lib/jcompiler/cache.rb
jcompiler-0.1.80 lib/jcompiler/cache.rb
jcompiler-0.1.79 lib/jcompiler/cache.rb
jcompiler-0.1.78 lib/jcompiler/cache.rb
jcompiler-0.1.77 lib/jcompiler/cache.rb
jcompiler-0.1.76 lib/jcompiler/cache.rb
jcompiler-0.1.75 lib/jcompiler/cache.rb
jcompiler-0.1.74 lib/jcompiler/cache.rb
jcompiler-0.1.73 lib/jcompiler/cache.rb
jcompiler-0.1.72 lib/jcompiler/cache.rb
jcompiler-0.1.71 lib/jcompiler/cache.rb
jcompiler-0.1.70 lib/jcompiler/cache.rb
jcompiler-0.1.69 lib/jcompiler/cache.rb
jcompiler-0.1.68 lib/jcompiler/cache.rb
jcompiler-0.1.67 lib/jcompiler/cache.rb