Sha256: 2afa13205d2e8a69cba9589921c365b914149d91f1e887a28ba02f7fa4cae3a1
Contents?: true
Size: 1.13 KB
Versions: 3
Compression:
Stored size: 1.13 KB
Contents
# frozen_string_literal: true require 'ancestry' require 'down' require 'kaminari' require 'liquid' require 'liquidum' require 'mime/types' require 'rouge' require 'slim-rails' require 'zip' require 'scribo/action_controller_helpers' require 'scribo/active_record_helpers' require 'scribo/action_view_helpers' require 'scribo/action_controller_renderers' require 'scribo/configuration' require 'scribo/engine' require 'scribo/i18n_store' require 'scribo/liquid/parser' require 'scribo/preamble' require 'scribo/sassc/importer' require 'scribo/utility' require 'scribo/version' module Scribo # Configuration class Error < StandardError; end class << self attr_reader :config def setup @config = Configuration.new yield config end def i18n_store @i18n_store ||= Scribo::I18nStore.new end def logger @config.logger end end # Include helpers ActiveSupport.on_load(:active_record) do include ActiveRecordHelpers end ActiveSupport.on_load(:action_view) do include ActionViewHelpers end ActiveSupport.on_load(:action_controller) do include ActionControllerHelpers end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
scribo-1.0.40 | lib/scribo.rb |
scribo-1.0.39 | lib/scribo.rb |
scribo-1.0.38 | lib/scribo.rb |