lib/rimless/configuration_handling.rb
# Retrieve the current configured environment. You can use it like
# +Rails.env+ to query it. E.g. +Rimless.env.production?+.
#
# @return [ActiveSupport::StringInquirer] the environment
Retrieve the current configured environment. You can use it like
+Rails.env+ to query it.
Retrieve the current configured environment . You can use it like + Rails . env + to query it .
def env
        @@env = ActiveSupport::StringInquirer.new(configuration.env.to_s) \
          if @env.to_s != configuration.env.to_s
        @@env
      end
def env @@env = ActiveSupport :: StringInquirer . new ( configuration . env . to_s ) if @env . to_s != configuration . env . to_s @@env end
Retrieve the current configured environment.
Retrieve the current configured environment .
None
ActiveSupport::StringInquirer