Sha256: 42a606d15156ea43e0612f0aed6df54f18d587f39ed34aa8a7b5cf7e7af2c168
Contents?: true
Size: 422 Bytes
Versions: 10
Compression:
Stored size: 422 Bytes
Contents
module Objection module_function def injector(*modules) if modules.empty? JSObjection.createInjector elsif modules.size == 1 JSObjection.createInjector modules.first else JSObjection.createInjectorWithModulesArray modules end end def default_injector=(injector) JSObjection.setDefaultInjector injector end def default_injector JSObjection.defaultInjector end end
Version data entries
10 entries across 10 versions & 1 rubygems