Module: Spec::Example::Pending

Defined in:
lib/spec-i18n/example/pending.rb

Class Method Summary collapse

Class Method Details

.translate_pending_keywordsObject

Translate the pending word



9
10
11
12
13
# File 'lib/spec-i18n/example/pending.rb', line 9

def translate_pending_keywords
  natural_language.pending_keywords.each do |pending_method, translated_methods|
    translated_methods.each { |translated_method| alias_method translated_method, pending_method}
  end
end