lib/rake-ui.rb in rake-ui-0.0.1 vs lib/rake-ui.rb in rake-ui-0.1.0
- old
+ new
@@ -1,6 +1,13 @@
# frozen_string_literal: true
require "rake-ui/engine"
module RakeUi
+ mattr_accessor :allow_production
+ self.allow_production = false
+
+ def self.configuration
+ yield(self) if block_given?
+ self
+ end
end