Class: TinyMCE::Rails::MultipleConfiguration
- Inherits:
-
ActiveSupport::HashWithIndifferentAccess
- Object
- ActiveSupport::HashWithIndifferentAccess
- TinyMCE::Rails::MultipleConfiguration
- Defined in:
- lib/tinymce/rails/configuration.rb
Instance Method Summary collapse
-
#initialize(configurations = {}) ⇒ MultipleConfiguration
constructor
A new instance of MultipleConfiguration.
Constructor Details
#initialize(configurations = {}) ⇒ MultipleConfiguration
Returns a new instance of MultipleConfiguration.
149 150 151 152 153 154 155 |
# File 'lib/tinymce/rails/configuration.rb', line 149 def initialize(configurations={}) configurations = configurations.each_with_object({}) { |(name, ), h| h[name] = Configuration.new_with_defaults() } super(configurations) end |