lib/quilt_rails/configuration.rb in quilt_rails-3.4.0 vs lib/quilt_rails/configuration.rb in quilt_rails-3.4.1
- old
+ new
@@ -9,21 +9,24 @@
react_server_ip = ENV['REACT_SERVER_IP'] || "localhost"
react_server_port = ENV['REACT_SERVER_PORT'] || 8081
self.react_server_host = "#{react_server_ip}:#{react_server_port}"
self.react_server_protocol = ENV['REACT_SERVER_PROTOCOL'] || "http"
+ self.logger = ::Logger.new($stdout)
self.mount = true
end
def mount?
mount
end
end
- def self.configuration
- @configuration ||= Configuration.new
- end
+ class << self
+ def configuration
+ @configuration ||= Configuration.new
+ end
- def self.configure
- yield(configuration)
+ def configure
+ yield(configuration)
+ end
end
end