Exception: Clacky::Utils::FileIgnoreHelper::WalkBudgetExceeded
- Inherits:
-
StandardError
- Object
- StandardError
- Clacky::Utils::FileIgnoreHelper::WalkBudgetExceeded
- Defined in:
- lib/clacky/utils/file_ignore_helper.rb
Overview
Raised internally to abort a walk when a budget is exhausted.
Instance Attribute Summary collapse
-
#reason ⇒ Object
readonly
Returns the value of attribute reason.
Instance Method Summary collapse
-
#initialize(reason) ⇒ WalkBudgetExceeded
constructor
A new instance of WalkBudgetExceeded.
Constructor Details
#initialize(reason) ⇒ WalkBudgetExceeded
Returns a new instance of WalkBudgetExceeded.
156 157 158 159 |
# File 'lib/clacky/utils/file_ignore_helper.rb', line 156 def initialize(reason) @reason = reason super(reason.to_s) end |
Instance Attribute Details
#reason ⇒ Object (readonly)
Returns the value of attribute reason.
155 156 157 |
# File 'lib/clacky/utils/file_ignore_helper.rb', line 155 def reason @reason end |