Sha256: ea1d057c08648abf37a1708b97b86a8ca67376ebdc39c87efe0ae1ec0214042f
Contents?: true
Size: 401 Bytes
Versions: 4
Compression:
Stored size: 401 Bytes
Contents
# Copyright (c) 2020 Jerome Arbez-Gindre # frozen_string_literal: true module Defmastership # a composite class storing a line and the corresponding match MatchingLine = Struct.new(:match, :line) do # Act as a Hasg and delegate to the Match def [](key) value = match[key] return value if value super end end public_constant :MatchingLine end
Version data entries
4 entries across 4 versions & 1 rubygems