module BotUtilsDefault
Public Instance Methods
<<(token)
click to toggle source
add smth to @tokens
# File lib/rsu/default.rb, line 18 def <<(token) @tokens << token end
<=>(otherInstance)
click to toggle source
compare @tokens with tokens of another instance
# File lib/rsu/default.rb, line 3 def <=>(otherInstance) @tokens <=> otherInstance.tokens end
==(otherInstance)
click to toggle source
(see #<=>)
# File lib/rsu/default.rb, line 8 def ==(otherInstance) @tokens == otherInstance.tokens end
to_i()
click to toggle source
get @tokens length
# File lib/rsu/default.rb, line 13 def to_i @tokens.length end