Sha256: 1ce219bdf111acb4c7ea9c71a98bb30f087fca17221b7a7099cfd69f0067feba
Contents?: true
Size: 617 Bytes
Versions: 1
Compression:
Stored size: 617 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 # rubocop:disable Style/ClassVars 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 # rubocop:disable Style/ClassVars yield Rails.application.config end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
next_rails_scaffold-0.2.0 | lib/next_rails_scaffold.rb |