Sha256: 595aaaa4e9c6cc2c749a8025cd599a3133366415e411ed65e24ba7c520526f80

Contents?: true

Size: 193 Bytes

Versions: 2

Compression:

Stored size: 193 Bytes

Contents

class Usable::Railtie < Rails::Railtie
  config.usable_config = Struct.new(:frozen).new(false)
  config.after_initialize do |app|
    Usable.freeze if app.config.usable_config.frozen
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
usable-3.6.1 lib/usable/railtie.rb
usable-3.6.0 lib/usable/railtie.rb