Module: Automan::Mixins::Utils
- Included in:
- Beanstalk::Configuration, Beanstalk::Deployer, Beanstalk::Package, Beanstalk::Version, Cloudformation::Launcher, Ec2::Image, RDS::Snapshot, S3::Downloader, S3::Uploader
- Defined in:
- lib/automan/mixins/utils.rb
Instance Method Summary collapse
Instance Method Details
#region_from_az(availability_zone) ⇒ Object
4 5 6 |
# File 'lib/automan/mixins/utils.rb', line 4 def region_from_az(availability_zone) availability_zone[0..-2] end |