class String def length 20 endendputs "This is a test".lengthputs "a".lengthputs "A really long line of text".length