Sha256: 9856b9c63576b6e64bac0a9c67c630b76dc02d77fac9eccff4775456acbd57d9

Contents?: true

Size: 802 Bytes

Versions: 112

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

112 entries across 112 versions & 3 rubygems

Version Path
tinymce-rails-7.2.1 lib/tinymce/rails.rb
tinymce-rails-6.8.4 lib/tinymce/rails.rb
tinymce-rails-7.2.0 lib/tinymce/rails.rb
tinymce-rails-7.1.2.1 lib/tinymce/rails.rb
tinymce-rails-7.1.2 lib/tinymce/rails.rb
tinymce-rails-7.0.1 lib/tinymce/rails.rb
tinymce-rails-7.0.0.1 lib/tinymce/rails.rb
tinymce-rails-6.8.3 lib/tinymce/rails.rb
tinymce-rails-6.8.2 lib/tinymce/rails.rb
tinymce-rails-6.8.1 lib/tinymce/rails.rb
tinymce-rails-6.8.0 lib/tinymce/rails.rb
tinymce-rails-5.10.9 lib/tinymce/rails.rb
tinymce-rails-6.7.2 lib/tinymce/rails.rb
tinymce-rails-6.7.1 lib/tinymce/rails.rb
tinymce-rails-6.7.0 lib/tinymce/rails.rb
tinymce-rails-6.6.2 lib/tinymce/rails.rb
tinymce-rails-6.6.1 lib/tinymce/rails.rb
tinymce-rails-6.6.0 lib/tinymce/rails.rb
tinymce-rails-6.5.1 lib/tinymce/rails.rb
tinymce-rails-6.5.0 lib/tinymce/rails.rb