Method: Ueditor.configure

Defined in:
lib/ueditor/config.rb

.configure {|@config ||= Ueditor::Configuration.new| ... } ⇒ Object

Configures global settings for Ueditor

Ueditor.configure do |config|
  config.default_per_page = 10
end

Yields:



8
9
10
# File 'lib/ueditor/config.rb', line 8

def self.configure(&block)
  yield @config ||= Ueditor::Configuration.new
end