class TinyMCE::Rails::Configuration
def preprocess_option(key, value)
def preprocess_option(key, value) result = value if result.is_a?(Hash) result = preprocess_options(value) elsif array_option?(key, value) result = value.join(OPTION_SEPARATORS[key]) elsif function_option?(value) result = Function.new(value) end if transformer = OPTION_TRANSFORMERS[key] result = transformer.call(result) end result end