Sha256: fd5b52f8a96c3d31808f55e78e3f114e171783c3cfe391e79997fc48420febe1
Contents?: true
Size: 465 Bytes
Versions: 108
Compression:
Stored size: 465 Bytes
Contents
# frozen_string_literal: true require 'eac_ruby_utils/core_ext' module Avm module Jobs class VariablesSource common_constructor :job, :instance def read_entry(path, options = {}) entry_from_job(path) || instance.read_entry(path, options) end private def entry_from_job(path) method = path.gsub('.', '_').underscore return job.send(method) if job.respond_to?(method, true) end end end end
Version data entries
108 entries across 108 versions & 3 rubygems