class FashionPolice::ColumnWidth
Public Instance Methods
error_message()
click to toggle source
# File lib/fashion-police.rb, line 151 def error_message "Maximum text width: 80 characters" end
test(string)
click to toggle source
# File lib/fashion-police.rb, line 147 def test(string) string.length <= 80 end