Module: Fullstack::Ckeditor

Defined in:
lib/fullstack/ckeditor.rb,
lib/fullstack/ckeditor/engine.rb,
lib/generators/fullstack/ckeditor/install_generator.rb

Defined Under Namespace

Classes: Engine, InstallGenerator

Constant Summary collapse

@@picture_attachment =
"data"
@@attachment_attachment =
"data"

Class Method Summary collapse

Class Method Details

.attachment_uploader?Boolean

Returns:

  • (Boolean)


26
27
28
# File 'lib/fullstack/ckeditor.rb', line 26

def attachment_uploader?
  !attachment_class.nil?
end

.picture_uploader?Boolean

Returns:

  • (Boolean)


21
22
23
# File 'lib/fullstack/ckeditor.rb', line 21

def picture_uploader?
  !picture_class.nil?
end

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



16
17
18
# File 'lib/fullstack/ckeditor.rb', line 16

def setup
  yield(self)
end