Sha256: ddf3c5a987846a6568f9b6b6e4d866b08bff425454228a72668d028f657eb2b4

Contents?: true

Size: 426 Bytes

Versions: 3

Compression:

Stored size: 426 Bytes

Contents

module Spec
  module Example
    module ExampleGroupMethods
      
        def self.register_example_adverbs
          language = SpecI18n::Parser::NaturalLanguage.get(SpecI18n.spec_language)
          @adverbs = language.example_group_keywords
          @adverbs.each do |key, values|
            values.map do |value|
              alias_method value, key
            end
          end
        end
        
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rspec-i18n-0.2.1 lib/spec-i18n/example/example_group_methods.rb
rspec-i18n-0.2.0 lib/spec-i18n/example/example_group_methods.rb
rspec-i18n-0.1.0 lib/spec-i18n/example/example_group_methods.rb