Class: AwsBase
- Inherits:
-
Object
- Object
- AwsBase
- Defined in:
- lib/aws_region.rb
Direct Known Subclasses
AwsRegion, AwsRegion::AwsBucket, AwsRegion::AwsCw, AwsRegion::AwsDbInstance, AwsRegion::AwsInstance
Instance Method Summary collapse
Instance Method Details
#log(msg) ⇒ Object
6 7 8 9 |
# File 'lib/aws_region.rb', line 6 def log(msg) @logger.write("#{Time.now.strftime("%b %D, %Y %H:%S:%M:")} #{msg}\n") if @logger puts "#{Time.now.strftime("%b %D, %Y %H:%S:%M:")} #{msg}\n" end |