Sha256: 9966b055bb8be740e24c5ae75396780a236977ebd757df009ca118e5af75d72c
Contents?: true
Size: 383 Bytes
Versions: 41
Compression:
Stored size: 383 Bytes
Contents
# frozen_string_literal: true # Extend `Language.transform` to inject `using RubyNext` to every file RubyNext::Language.singleton_class.prepend(Module.new do def transform(contents, using: true, **hargs) # We cannot activate refinements in eval new_contents = RubyNext::Core.inject!(contents) if using super(new_contents || contents, using: using, **hargs) end end)
Version data entries
41 entries across 41 versions & 2 rubygems