Sha256: 72b4bfafbadd2bcc80b7528b7e0b923a941fc6dee5342c36ea37db24e8653612

Contents?: true

Size: 194 Bytes

Versions: 1

Compression:

Stored size: 194 Bytes

Contents

class Usable::Railtie < Rails::Railtie
  config.after_initialize do
    if Rails.env !~ /test|development/
      Usable.extended_constants.map { |const| const.usables.freeze }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
usable-3.5.0 lib/usable/railtie.rb