lib/octopus.rb in ar-octopus-0.8.3 vs lib/octopus.rb in ar-octopus-0.8.4
- old
+ new
@@ -55,10 +55,10 @@
def self.setup
yield self
end
def self.environments=(environments)
- @environments = environments.map { |element| element.to_s }
+ @environments = environments.map(&:to_s)
end
def self.environments
@environments ||= config['environments'] || ['production']
end