Module: NinthBit::CustomEnvironments::ClassMethods
- Defined in:
- lib/sanitize_email/custom_environments.rb
Instance Method Summary collapse
Instance Method Details
#consider_deployed? ⇒ Boolean
21 22 23 |
# File 'lib/sanitize_email/custom_environments.rb', line 21 def consider_deployed? deployed_environments.include?(ENV['RAILS_ENV']) end |
#consider_local? ⇒ Boolean
18 19 20 |
# File 'lib/sanitize_email/custom_environments.rb', line 18 def consider_local? local_environments.include?(ENV['RAILS_ENV']) end |