Exception: Puppet::Pops::Evaluator::PuppetStopIteration
- Defined in:
- lib/puppet/pops/evaluator/closure.rb
Instance Attribute Summary collapse
- #file ⇒ Object readonly
- #line ⇒ Object readonly
- #pos ⇒ Object readonly
Instance Method Summary collapse
-
#initialize(file, line, pos = nil) ⇒ PuppetStopIteration
constructor
A new instance of PuppetStopIteration.
- #message ⇒ Object
Constructor Details
#initialize(file, line, pos = nil) ⇒ PuppetStopIteration
Returns a new instance of PuppetStopIteration.
26 27 28 29 30 |
# File 'lib/puppet/pops/evaluator/closure.rb', line 26 def initialize(file, line, pos = nil) @file = file @line = line @pos = pos end |
Instance Attribute Details
#file ⇒ Object (readonly)
22 23 24 |
# File 'lib/puppet/pops/evaluator/closure.rb', line 22 def file @file end |
#line ⇒ Object (readonly)
23 24 25 |
# File 'lib/puppet/pops/evaluator/closure.rb', line 23 def line @line end |
#pos ⇒ Object (readonly)
24 25 26 |
# File 'lib/puppet/pops/evaluator/closure.rb', line 24 def pos @pos end |
Instance Method Details
#message ⇒ Object
32 33 34 |
# File 'lib/puppet/pops/evaluator/closure.rb', line 32 def "break() from context where this is illegal" end |