Class: String

Inherits:
Object show all
Defined in:
lib/ext_core.rb

Overview

Some extentions to the core String class

Class Method Summary collapse

Class Method Details

.generate(*_args) ⇒ String

Randomly generate a String

TODO: add filtering

Returns:

See Also:

  • Faker::String


20
21
22
# File 'lib/ext_core.rb', line 20

def self.generate(*_args)
  Faker::String.random
end