Sha256: 292c232d2ede4549737f2ed618550930d0cf48c74d875fab910328eacb0012d1
Contents?: true
Size: 577 Bytes
Versions: 59
Compression:
Stored size: 577 Bytes
Contents
# frozen_string_literal: true require 'avm/instances/entry_keys' module Avm module Instances class Base module EntryKeys # @return [Enumerable<String>] def entry_keys ::Avm::Instances::EntryKeys.all end ::Avm::Instances::EntryKeys.all.each do |key| method_name = key.to_s.variableize define_method method_name do read_entry(key) end define_method "#{method_name}_optional" do read_entry_optional(key) end end end end end end
Version data entries
59 entries across 59 versions & 2 rubygems