Module: AWS::Core::OptionGrammar::Descriptors::Rename

Defined in:
lib/aws/core/option_grammar.rb

Class Method Summary collapse

Class Method Details

.apply(option, new_name) ⇒ Object



162
163
164
165
# File 'lib/aws/core/option_grammar.rb', line 162

def self.apply(option, new_name)
  new_name = Inflection.ruby_name(new_name)
  MetaUtils.extend_method(option, :ruby_name) { new_name }
end