Sha256: 1df17eb731077676aeb7e44338e0bdad6db184f92f685efae95e2f37a4b40f56
Contents?: true
Size: 397 Bytes
Versions: 5
Compression:
Stored size: 397 Bytes
Contents
# frozen_string_literal: true module IIFinder class Config class_attribute :data self.data = { lookup_cache: true, merge_relation: true, traversal: :postorder, } data.keys.each do |key| define_singleton_method "#{key}" do data[key] end define_singleton_method "#{key}=" do |val| data[key] = val end end end end
Version data entries
5 entries across 5 versions & 1 rubygems