Class: Garcon::Hookers::Hooker::Results
- Defined in:
- lib/garcon/utility/hookers.rb
Instance Method Summary collapse
- #halted! ⇒ Object
- #halted? ⇒ Boolean
-
#initialize ⇒ Results
constructor
A new instance of Results.
- #not_halted? ⇒ Boolean
Methods inherited from Array
Constructor Details
#initialize ⇒ Results
Returns a new instance of Results.
133 134 135 136 |
# File 'lib/garcon/utility/hookers.rb', line 133 def initialize(*) super @halted = false end |
Instance Method Details
#halted! ⇒ Object
138 139 140 141 |
# File 'lib/garcon/utility/hookers.rb', line 138 def halted! @halted = true self end |
#halted? ⇒ Boolean
143 144 145 |
# File 'lib/garcon/utility/hookers.rb', line 143 def halted? @halted end |
#not_halted? ⇒ Boolean
147 148 149 |
# File 'lib/garcon/utility/hookers.rb', line 147 def not_halted? not @halted end |