Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/termtter.rb,
lib/plugin/yhara.rb
Instance Method Summary collapse
Instance Method Details
#choice ⇒ Object
3 4 5 |
# File 'lib/plugin/yhara.rb', line 3 def choice at(rand(size)) end |
#take(n) ⇒ Object
16 |
# File 'lib/termtter.rb', line 16 def take(n) self[0...n] end |