Sha256: e58823b50dec74815e6d502cfd57a2d2dab40ce76d3e153821637c23a94e07b0
Contents?: true
Size: 572 Bytes
Versions: 6
Compression:
Stored size: 572 Bytes
Contents
module RSpec module Matchers def have_valid_chinese_mobile end def have_valid_chinese_landline end class PhoneNumberMatcher def initialize(phone_number) self.phone_number = phone_number end def matches?(actual) end def description end def failure_message end def failure_message_when_negated end protected def actual=(actual) self.actual = actual end attr_reader :actual attr_accessor :phone_number, :validator end end end
Version data entries
6 entries across 6 versions & 1 rubygems