lib/dockly/aws.rb in dockly-1.5.8 vs lib/dockly/aws.rb in dockly-1.5.9
- old
+ new
@@ -2,9 +2,11 @@
# This module holds the connections for all AWS services used by the gem.
module Dockly::AWS
extend self
+ autoload :S3Writer, 'dockly/aws/s3_writer'
+
def service(name, klass)
define_method name do
if val = instance_variable_get(:"@#{name}")
val
else