Sha256: 20763d84ed9ebf3a4ed2009f51ac68cf686f1bdc4141667a63ddca727c68536e

Contents?: true

Size: 370 Bytes

Versions: 2

Compression:

Stored size: 370 Bytes

Contents

def #{m}
	Cache.monitor.synchronize do
		@cache_versions_#{als} ||= {#{vnames_str}}
		if @cache_versions_#{als}.all?{|vname, v| v == RubyExt::Cache.version(vname)}
			return @cache_value_#{als}
		else
			@cache_versions_#{als}.keys.each{|vname| @cache_versions_#{als}[vname] = RubyExt::Cache.version(vname)}
			return @cache_value_#{als} = cached_#{als}
		end		
	end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
RubyExt-0.1.1 lib/RubyExt/Cache.res/multiple_version_without_args.txt
RubyExt-0.1.2 lib/RubyExt/Cache.res/multiple_version_without_args.txt