Exception: TinyMCE::TinyMCEInvalidOption

Inherits:
Exception
  • Object
show all
Defined in:
lib/tiny_mce/exceptions.rb

Overview

Setup a couple of Exception classes that we use later on

Class Method Summary collapse

Class Method Details

.invalid_option(option) ⇒ Object



4
5
6
# File 'lib/tiny_mce/exceptions.rb', line 4

def self.invalid_option(option)
  new "Invalid option #{option} passed to tinymce"
end