Class: Ckeditor::Utils::JavascriptCode
- Inherits:
-
String
- Object
- String
- Ckeditor::Utils::JavascriptCode
- Defined in:
- lib/ckeditor/utils.rb
Instance Method Summary collapse
Instance Method Details
#as_json(options = nil) ⇒ Object
11 12 13 |
# File 'lib/ckeditor/utils.rb', line 11 def as_json( = nil) ActiveSupport::JSON::Variable.new(to_s).freeze end |
#to_json(options = nil) ⇒ Object
7 8 9 |
# File 'lib/ckeditor/utils.rb', line 7 def to_json( = nil) self end |