Class: RawJS
- Inherits:
-
Object
- Object
- RawJS
- Defined in:
- lib/rails_javascript_helpers/rails_javascript_helpers.rb
Instance Method Summary collapse
-
#initialize(s) ⇒ RawJS
constructor
A new instance of RawJS.
- #to_s ⇒ Object
Constructor Details
#initialize(s) ⇒ RawJS
Returns a new instance of RawJS.
43 44 45 |
# File 'lib/rails_javascript_helpers/rails_javascript_helpers.rb', line 43 def initialize(s) @s = s end |
Instance Method Details
#to_s ⇒ Object
46 47 48 |
# File 'lib/rails_javascript_helpers/rails_javascript_helpers.rb', line 46 def to_s @s end |