Class: Puppet::Pops::Parser::Locatable::Fixed
- Inherits:
-
Puppet::Pops::Parser::Locatable
- Object
- Puppet::Pops::Parser::Locatable
- Puppet::Pops::Parser::Locatable::Fixed
- Defined in:
- lib/puppet/pops/parser/locatable.rb
Overview
This class is useful for testing
Instance Attribute Summary collapse
- #length ⇒ Object readonly
- #offset ⇒ Object readonly
Instance Method Summary collapse
-
#initialize(offset, length) ⇒ Fixed
constructor
A new instance of Fixed.
Constructor Details
#initialize(offset, length) ⇒ Fixed
Returns a new instance of Fixed.
18 19 20 21 |
# File 'lib/puppet/pops/parser/locatable.rb', line 18 def initialize(offset, length) @offset = offset @length = length end |