Class: Syndi::API::Object
- Inherits:
-
Object
- Object
- Syndi::API::Object
- Defined in:
- lib/syndi/api/object.rb
Overview
A superclass for Timers and Events.
Instance Method Summary collapse
-
#get_rand_char ⇒ String
private
Get a random character.
Instance Method Details
#get_rand_char ⇒ String (private)
Get a random character.
18 19 20 21 |
# File 'lib/syndi/api/object.rb', line 18 def get_rand_char chrs = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890".split(//) chrs[rand(chrs.length)] end |