Sha256: b575d2dde97d4e9e5be66132bd4acdbb552b2d5b2315d23726d5d8b9ce6b79be
Contents?: true
Size: 461 Bytes
Versions: 136
Compression:
Stored size: 461 Bytes
Contents
# frozen_string_literal: true require 'eac_ruby_utils/core_ext' require 'eac_ruby_utils/context' module EacFs class Contexts TYPES = %i[cache config data].freeze class << self TYPES.each do |type| class_eval <<~CODE, __FILE__, __LINE__ + 1 # @return [EacRubyUtils::Context<EacFs::StorageTree>] def #{type} @#{type} ||= ::EacRubyUtils::Context.new end CODE end end end end
Version data entries
136 entries across 136 versions & 3 rubygems