Method: AWS::IAM::UserCollection#enumerator
- Defined in:
- lib/aws/iam/user_collection.rb
#enumerator(options = {}) ⇒ Enumerator
Returns an enumerable object for this collection. This can be useful if you want to call an enumerable method that does not accept options (e.g. collect, first, etc).
users.enumerator(:path_prefix => '/admin').collect(&:name)
114 115 116 |
# File 'lib/aws/iam/user_collection.rb', line 114 def enumerator = {} super() end |