Sha256: c65ab6d5cd07d3a765894aa6633eb8f72f9c9ce25ece256d4f4446611bbe0912
Contents?: true
Size: 382 Bytes
Versions: 8
Compression:
Stored size: 382 Bytes
Contents
# frozen_string_literal: true module Grumlin module T # TODO: share the code? class << self %i[id label].each do |step| define_method step do name = "@#{step}" return instance_variable_get(name) if instance_variable_defined?(name) instance_variable_set(name, TypedValue.new("T", step)) end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems