module AnyValue
Constants
- VERSION
Public Instance Methods
any_date()
click to toggle source
# File lib/any_value.rb, line 285 def any_date AnyDate.new end
any_date_string()
click to toggle source
# File lib/any_value.rb, line 297 def any_date_string AnyDateString.new end
any_datetime_string()
click to toggle source
# File lib/any_value.rb, line 309 def any_datetime_string AnyDateTimeString.new end
any_http_uri()
click to toggle source
# File lib/any_value.rb, line 319 def any_http_uri AnyHTTPURI.new end
any_integer()
click to toggle source
# File lib/any_value.rb, line 71 def any_integer AnyInteger.new end
any_number()
click to toggle source
# File lib/any_value.rb, line 80 def any_number AnyNumber.new end
any_string()
click to toggle source
# File lib/any_value.rb, line 111 def any_string AnyString.new end
any_time()
click to toggle source
# File lib/any_value.rb, line 264 def any_time AnyTime.new end
any_time_string()
click to toggle source
# File lib/any_value.rb, line 276 def any_time_string AnyTimeString.new end
any_unique()
click to toggle source
# File lib/any_value.rb, line 220 def any_unique @_any_unique ||= AnyUnique.new end
anything()
click to toggle source
# File lib/any_value.rb, line 43 def anything Anything.new end
array_of(element)
click to toggle source
# File lib/any_value.rb, line 203 def array_of(element) ArrayOf.new(element) end
even_number()
click to toggle source
# File lib/any_value.rb, line 89 def even_number EvenNumber.new end
increasing()
click to toggle source
# File lib/any_value.rb, line 246 def increasing @_increasing ||= Increasing.new end
odd_number()
click to toggle source
# File lib/any_value.rb, line 98 def odd_number OddNumber.new end
one_of(*values)
click to toggle source
# File lib/any_value.rb, line 129 def one_of(*values) OneOf.new(*values) end
sorted_array()
click to toggle source
# File lib/any_value.rb, line 181 def sorted_array SortedArray.new end
string_matching(pattern)
click to toggle source
# File lib/any_value.rb, line 165 def string_matching(pattern) StringMatching.new(pattern) end
string_of_length(expected_length)
click to toggle source
# File lib/any_value.rb, line 147 def string_of_length(expected_length) StringOfLength.new(expected_length) end
upcase_string()
click to toggle source
# File lib/any_value.rb, line 255 def upcase_string UpcaseString.new end