class Origami::Action::JavaScript
Class representing a JavaScript Action.
Public Class Methods
[](script)
click to toggle source
Creates a new JavaScript Action.
- script
-
The script to be executed.
# File lib/origami/actions.rb, line 118 def self.[](script) self.new(:JS => script) end