Sha256: 1ed691e750b886ce8a1858ec93839cb9980918570c23977b3409da55c3edc3bb

Contents?: true

Size: 321 Bytes

Versions: 1

Compression:

Stored size: 321 Bytes

Contents

require "lazy_format/version"

module LazyFormat
  class << self
    def load!
      register_rails_engine
    end

    # Environment detection helpers
    def rails?
      defined?(::Rails)
    end

    private

    def register_rails_engine
      require 'lazy_format/rails/railtie'
    end
  end
end

LazyFormat.load!

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lazy_format-0.1.0 lib/lazy_format.rb