Top Level Namespace
Defined Under Namespace
Modules: ActiveRecord, ActiveSupport, Enumerable Classes: Date, DateTime, FalseClass, Hash, NilClass, Numeric, Object, Regexp, String, Symbol, Time, TrueClass
Instance Method Summary collapse
-
#JS(object) ⇒ Object
Alias to ActiveSupport::JS::Code.new.
Instance Method Details
#JS(object) ⇒ Object
Alias to ActiveSupport::JS::Code.new
50 51 52 |
# File 'lib/to-javascript.rb', line 50 def JS(object) ActiveSupport::JS::Code.new object end |