Module: AWS::Core::OptionGrammar::Descriptors::ListMethods::ClassMethods
- Included in:
- AWS::Core::OptionGrammar::Descriptors::List, MemberedList
- Defined in:
- lib/aws/core/option_grammar.rb
Instance Method Summary collapse
Instance Method Details
#apply(option, member_descriptors) ⇒ Object
192 193 194 195 196 197 198 |
# File 'lib/aws/core/option_grammar.rb', line 192 def apply(option, member_descriptors) super(option) member_option = option.member_option if option.respond_to?(:member_option) member_option ||= ListMember.new member_option = member_option.extend_with_config(*member_descriptors) MetaUtils.extend_method(option, :member_option) { member_option } end |