Sha256: a90462ae75570d90d9df352395675c14e273005a85ff862e7fc0e27b68d9156c

Contents?: true

Size: 549 Bytes

Versions: 4

Compression:

Stored size: 549 Bytes

Contents

# frozen_string_literal: true

require_relative "next_rails_scaffold/actions"
require_relative "next_rails_scaffold/engine"
require_relative "next_rails_scaffold/version"

module NextRailsScaffold
  class Error < StandardError; end

  @@configured = false

  def self.configured? # :nodoc:
    @@configured
  end

  # Default way to setup Next Rails. Run rails generate next_rails_scaffold: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.13 lib/next_rails_scaffold.rb
next_rails_scaffold-0.1.12 lib/next_rails_scaffold.rb
next_rails_scaffold-0.1.11 lib/next_rails_scaffold.rb
next_rails_scaffold-0.1.10 lib/next_rails_scaffold.rb