Class: Capistrano::Aws::AutoMapping
- Inherits:
-
Array
- Object
- Array
- Capistrano::Aws::AutoMapping
- Defined in:
- lib/capistrano/aws/client.rb
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *args, &block) ⇒ Object
4 5 6 |
# File 'lib/capistrano/aws/client.rb', line 4 def method_missing(name, *args, &block) AutoMapping.new(self.map {|item| item.send(name, *args, &block) }.flatten(1)) end |