class ContentSpinning::String
Public Class Methods
new(text)
click to toggle source
# File lib/content_spinning/string.rb, line 6 def initialize(text) self.<<(text) end
Public Instance Methods
cleaned()
click to toggle source
# File lib/content_spinning/string.rb, line 10 def cleaned self end
count()
click to toggle source
# File lib/content_spinning/string.rb, line 14 def count 1 end
inspect()
click to toggle source
# File lib/content_spinning/string.rb, line 18 def inspect "<String {#{inspect}}>" end
random()
click to toggle source
# File lib/content_spinning/string.rb, line 22 def random self end
spin()
click to toggle source
# File lib/content_spinning/string.rb, line 26 def spin [self] end
to_source()
click to toggle source
# File lib/content_spinning/string.rb, line 30 def to_source self end