Sha256: 96895494ac1841a1865dc305901b9ac4a0df60297d03693ad92e9c37faeade6e

Contents?: true

Size: 468 Bytes

Versions: 4

Compression:

Stored size: 468 Bytes

Contents

# frozen_string_literal: true

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

4 entries across 4 versions & 1 rubygems

Version Path
next_rails_scaffold-0.1.8 lib/next_rails.rb
next_rails_scaffold-0.1.7 lib/next_rails.rb
next_rails_scaffold-0.1.6 lib/next_rails.rb
next_rails_scaffold-0.1.5 lib/next_rails.rb