Sha256: 8da499c5ad5c15a18f4e5fa56517b5d1224a2a742a2152224879810fcfbf18a0

Contents?: true

Size: 278 Bytes

Versions: 2

Compression:

Stored size: 278 Bytes

Contents

module Spec
  module Matchers

    def self.register_all_matchers
      ["true", "false", "nil", "empty", "matcher"].each do |matcher|
        class_eval <<-BE_WORD
          translate_be_#{matcher}
        BE_WORD
      end
      translate_basic_matchers
    end
    
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rspec-i18n-1.2.1 lib/spec-i18n/matchers/register_all_matchers.rb
rspec-i18n-1.2.0 lib/spec-i18n/matchers/register_all_matchers.rb