Sha256: 1fd793a79dbb3fd36dfc42ea0ec5548a74fcd4e28acda3a10b9b0858eea227f5
Contents?: true
Size: 630 Bytes
Versions: 24
Compression:
Stored size: 630 Bytes
Contents
# Jets::Builders::ShimVars::Shared.new(fun) # # @deducer.functions.each do |function_name| # @deducer.handler_for(function_name) # end # # Implements: # # functions # handler_for(function_name) # js_path # module Jets::Builders::ShimVars class Shared < Base # fun is a Jets::Stack::Function def initialize(fun) @fun = fun end def functions [@fun.meth] # function_names end # dont need function_name arg but keeping the same interface as parent class def handler_for(function_name) @fun.handler_dest end def js_path @fun.handler_dest end end end
Version data entries
24 entries across 24 versions & 1 rubygems