Sha256: 9921089cd46caeff268f7d16a26363be150aa7324bc3faddc417d4c6ec962707

Contents?: true

Size: 802 Bytes

Versions: 9

Compression:

Stored size: 802 Bytes

Contents

module TinyMCE
  module Rails
    require "tinymce/rails/engine"
    require "tinymce/rails/version"
    require "tinymce/rails/configuration"
    require "tinymce/rails/configuration_file"
    require "tinymce/rails/helper"
    require "tinymce/rails/environment" if defined?(Sprockets::Rails::Environment)

    def self.configuration
      @configuration ||= ConfigurationFile.new(Engine.config_path)
      @configuration.respond_to?(:configuration) ? @configuration.configuration : @configuration
    end

    def self.configuration=(configuration)
      @configuration = configuration
    end

    def self.each_configuration(&block)
      if configuration.is_a?(MultipleConfiguration)
        configuration.each(&block)
      else
        yield :default, configuration
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
tinymce-rails-7.6.1 lib/tinymce/rails.rb
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/tinymce-rails-7.6.0/lib/tinymce/rails.rb
tinymce-rails-7.6.0 lib/tinymce/rails.rb
tinymce-rails-7.5.1 lib/tinymce/rails.rb
tinymce-rails-7.5.0 lib/tinymce/rails.rb
tinymce-rails-6.8.5 lib/tinymce/rails.rb
tinymce-rails-7.4.1 lib/tinymce/rails.rb
tinymce-rails-7.4.0 lib/tinymce/rails.rb
tinymce-rails-7.3.0 lib/tinymce/rails.rb