Sha256: 1ee01ee2c5de6270dd646ab1f44bf5a19af00d1e3c13f7f8adc4c772319cd7e6
Contents?: true
Size: 327 Bytes
Versions: 1
Compression:
Stored size: 327 Bytes
Contents
require 'rails/application' require 'active_support/concern' module Axel module ApplicationExtensions extend ActiveSupport::Concern module ClassMethods def productionish? !!Rails.env.match(/(production|staging)/) end end end end Rails::Application.send :include, Axel::ApplicationExtensions
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
axel-0.0.1 | lib/axel/application_extensions.rb |