lib/deadpull/values/environment.rb in deadpull-0.1.0 vs lib/deadpull/values/environment.rb in deadpull-0.1.1
- old
+ new
@@ -3,10 +3,10 @@
module Deadpull
module Values
class Environment < Base
extend Dry::Initializer
- option :environment, optional: true
+ param :environment, optional: true
def concretize
environment || ENV['DEADPULL_ENV'] || ENV['RAILS_ENV'] || 'development'
end
end