vendor/jruby/1.9/gems/flog-4.2.1/lib/flog.rb
def penalize_by bonus
    @multiplier += bonus
    yield
    @multiplier -= bonus
  end
##
# For the duration of the block the complexity factor is increased
# by #bonus This allows the complexity of sub-expressions to be
# influenced by the expressions in which they are found.  Yields 42
# to the supplied block.
For the duration of the block the complexity factor is increased
by #bonus This allows the complexity of sub-expressions to be
influenced by the expressions in which they are found.  Yields 42
to the supplied block.
For the duration of the block the complexity factor is increased by #bonus This allows the complexity of sub - expressions to be influenced by the expressions in which they are found . Yields 42 to the supplied block .
def penalize_by bonus
    @multiplier += bonus
    yield
    @multiplier -= bonus
  end
def penalize_by bonus @multiplier += bonus yield @multiplier -= bonus end
For the duration of the block the complexity factor is increased
by #bonus This allows the complexity of sub-expressions to be
influenced by the expressions in which they are found.
For the duration of the block the complexity factor is increased by #bonus This allows the complexity of sub - expressions to be influenced by the expressions in which they are found .
bonus