lib/rainbows/configurator.rb in rainbows-5.1.1 vs lib/rainbows/configurator.rb in rainbows-5.2.0
- old
+ new
@@ -44,11 +44,11 @@
# inside this block.
def Rainbows!(&block)
block_given? or raise ArgumentError, "Rainbows! requires a block"
@block = true
instance_eval(&block)
- ensure
- @block = false
+ ensure
+ @block = false
end
def check! # :nodoc:
@block or abort "must be inside a Rainbows! block"
end