Class: Array
- Inherits:
 - 
      Object
      
        
- Object
 - Array
 
 
- Defined in:
 - lib/awspec/ext/array.rb
 
Instance Method Summary collapse
Instance Method Details
#single_resource(id = nil) ⇒ Object
      4 5 6 7 8 9 10  | 
    
      # File 'lib/awspec/ext/array.rb', line 4 def single_resource(id = nil) if count > 1 raise Awspec::DuplicatedResourceTypeError, "Duplicated resource type #{id}" end first if count == 1 end  |