Sha256: 069d49623f690b580730d7726de67e928f0f08139b485370ebc661fc936e158e

Contents?: true

Size: 505 Bytes

Versions: 1

Compression:

Stored size: 505 Bytes

Contents

# frozen_string_literal: true

require_relative "next_rails/actions"
require_relative "next_rails/engine"
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

1 entries across 1 versions & 1 rubygems

Version Path
next_rails_scaffold-0.1.9 lib/next_rails.rb