Sha256: 89094d8e7e3e5758b5992ebad5205fad632354eeead3d38377610403470aee0a
Contents?: true
Size: 516 Bytes
Versions: 6
Compression:
Stored size: 516 Bytes
Contents
# -*- coding: utf-8 -*- require 'tengine/job' # Tengine::Job::DslLoader と Tengine::Job::DslBinder がincludeしているモジュールです。 # それぞれに共通のメソッドを定義します。 module Tengine::Job::DslEvaluator private def __stack_instance_variable__(ivar_name, value) backup = instance_variable_get(ivar_name) instance_variable_set(ivar_name, value) begin return yield if block_given? ensure instance_variable_set(ivar_name, backup) end end end
Version data entries
6 entries across 6 versions & 1 rubygems