Sha256: a8008d738a3a2ea39aa2ff1e3151e7952081d0ff949af793e217f042976add1e

Contents?: true

Size: 430 Bytes

Versions: 2

Compression:

Stored size: 430 Bytes

Contents

module Spec
  module Example
    module Pending
      
      class << self
      
        # Translate the pending word
        #
        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
      
      end
      
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rspec-i18n-1.2.1 lib/spec-i18n/example/pending.rb
rspec-i18n-1.2.0 lib/spec-i18n/example/pending.rb