Sha256: 5def82bf237adca2b842ea2d2e528f9f13673680e5ece09f9e8494109efd055a

Contents?: true

Size: 437 Bytes

Versions: 3

Compression:

Stored size: 437 Bytes

Contents

require 'jitai'
require 'rails'

module Jitai
  class Railtie < Rails::Railtie

=begin
    Don't think I need this anymore~
    initializer "jitai.initialization" do |app|
      app.middleware.use Jitai::Middleware
    end
=end

    rake_tasks do
      namespace :jitai do
        desc "hack"
        task :refresh do
          font_manager = Jitai::FontManager.new
          font_manager.refresh
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jitai-0.3.4 lib/jitai/railtie.rb
jitai-0.3.3 lib/jitai/railtie.rb
jitai-0.3.2 lib/jitai/railtie.rb