Sha256: f9db140629223e362bd70eb05470f9282fb0873eb43f9fe7cef6135e5d4b4665
Contents?: true
Size: 666 Bytes
Versions: 2
Compression:
Stored size: 666 Bytes
Contents
module Spec module Example module ExampleGroupMethods def self.register_example_adverbs natural_language.example_group_keywords.each do |key, values| values.each { |value| alias_method value, key } end end # tranlated it_should_behave_like word def self.translate_it_should_behave_like natural_language.it_should_behave_like_keywords.each do |it_should_behave_like_method, it_should_behave_like_keywords| it_should_behave_like_keywords.each { |keyword| alias_method keyword, it_should_behave_like_method} 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/example_group_methods.rb |
rspec-i18n-1.2.0 | lib/spec-i18n/example/example_group_methods.rb |