Sha256: 52e3a3eb7627c6d0fbc4e12c34a684624fce3d0a13a1247db127366df8fdde48
Contents?: true
Size: 429 Bytes
Versions: 5
Compression:
Stored size: 429 Bytes
Contents
# frozen_string_literal: true require_relative "next_rails/version" module NextRails class Error < StandardError; end @@configured = false def self.configured? #:nodoc: @@configured end # Default way to setup Next Rails. Run rails generate next_rails:install # to create a fresh initializer with all configuration values. def self.setup @@configured = true yield Rails.application.config end end
Version data entries
5 entries across 5 versions & 1 rubygems