app/controllers/runs_controller.rb
# flash.now message and throw :flash_now if condition is true.
flash.now message and throw :flash_now if condition is true.
flash . now message and throw : flash_now if condition is true .
def flash_now(condition, message)
    if condition
      flash.now[:notice] = message
      throw :flash_now
    end
  end
def flash_now ( condition , message ) if condition flash . now [ :notice ] = message throw :flash_now end end
flash.now message and throw :flash_now if condition is true.
flash . now message and throw : flash_now if condition is true .
condition
<not_specific>
message
<not_specific>