Class: Symbol

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

Overview

Some extentions to the core Symbol class

Class Method Summary collapse

Class Method Details

.generate(*_args) ⇒ Symbol

Randomly generate a Symbol

Returns:

See Also:



32
33
34
# File 'lib/ext_core.rb', line 32

def self.generate(*_args)
  String.generate.to_sym
end