lib/maglev/active_model/when_change.rb
# allows you to bypass "protected" code
allows you to bypass "protected" code
allows you to bypass " protected " code
def unprotected(&block)
        begin
          @unprotected = true
          block.call
        ensure
          @unprotected = false
        end
      end
def unprotected ( & block ) begin @unprotected = true block . call ensure @unprotected = false end end
allows you to bypass "protected" code
allows you to bypass " protected " code
block
<not_specific>