module RandTest::Strings

Public Instance Methods

random_ascii_of_length(length, options={}) click to toggle source
# File lib/rand-rspec/strings.rb, line 12
def random_ascii_of_length(length, options={})
  random_ascii_of_length_between(0, length-1, options)
end
random_ascii_of_length_between(min, max, options={}) click to toggle source
# File lib/rand-rspec/strings.rb, line 8
def random_ascii_of_length_between(min, max, options={})
  RandTest::AsciiGenerator.random_ascii_between(min, max, options)
end
random_unicode_of_length(min, max, options={}) click to toggle source
# File lib/rand-rspec/strings.rb, line 16
def random_unicode_of_length(min, max, options={})
  RandTest::UnicodeGenerator.random_unicode_of_length(min, max, options)
end