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.
154 155 156 157 158 159 160 |
# File 'lib/tinymce/rails/configuration.rb', line 154 def initialize(configurations={}) configurations = configurations.each_with_object({}) { |(name, ), h| h[name] = Configuration.new_with_defaults() } super(configurations) end |