Class: ActiveScaffold::Bridges::TinyMce
- Inherits:
-
DataStructures::Bridge
- Object
- DataStructures::Bridge
- ActiveScaffold::Bridges::TinyMce
- Defined in:
- lib/active_scaffold/bridges/tiny_mce.rb,
lib/active_scaffold/bridges/tiny_mce/helpers.rb
Defined Under Namespace
Modules: Helpers
Class Method Summary collapse
Methods inherited from DataStructures::Bridge
Class Method Details
.install ⇒ Object
2 3 4 |
# File 'lib/active_scaffold/bridges/tiny_mce.rb', line 2 def self.install require File.join(File.dirname(__FILE__), "tiny_mce/helpers.rb") end |
.install? ⇒ Boolean
6 7 8 |
# File 'lib/active_scaffold/bridges/tiny_mce.rb', line 6 def self.install? Object.const_defined? "TinyMCE" end |
.javascripts ⇒ Object
10 11 12 |
# File 'lib/active_scaffold/bridges/tiny_mce.rb', line 10 def self.javascripts ['tinymce-jquery', 'jquery/tiny_mce_bridge'] end |