DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR RUBY
ruby clear set
require 'set' s = Set[0, 1, 2] s.clear() puts s.to_a.to_s # [0, 1, 2]
PREVIOUS
NEXT
Tagged:
#ruby
#clear
#set
ADD COMMENT
Topic
COMMENT
Name
1+9 =
Submit