Sha256: 699a0977eb020141317199e05ce1931a5d68bbf5ec516b9c7e09e80584501b2b
Contents?: true
Size: 479 Bytes
Versions: 290
Compression:
Stored size: 479 Bytes
Contents
# Interface for something that is "locateable" (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
290 entries across 290 versions & 3 rubygems