Sha256: ded8f66cd6862ada17981af7150084326358a38d2eff966071d9f6c0083c7290
Contents?: true
Size: 507 Bytes
Versions: 32
Compression:
Stored size: 507 Bytes
Contents
# frozen_string_literal: true # Interface for something that is "locatable" (holds offset and length). class Puppet::Pops::Parser::Locatable # The offset in the locator's content def offset end # The length in the locator from the given offset def length end # This class is useful for testing class Fixed < Puppet::Pops::Parser::Locatable attr_reader :offset attr_reader :length def initialize(offset, length) @offset = offset @length = length end end end
Version data entries
32 entries across 32 versions & 1 rubygems