Module: Kernel

Defined in:
lib/opal/jquery/kernel.rb

Instance Method Summary collapse

Instance Method Details

#alert(msg) ⇒ nil

Alert the given message using window.alert(). This is a blocking method.


7
8
9
10
# File 'lib/opal/jquery/kernel.rb', line 7

def alert(msg)
  `alert(msg)`
  nil
end