class FashionPolice::SpacesNotTabs

Public Instance Methods

error_message() click to toggle source
# File lib/fashion-police.rb, line 9
def error_message
  "Use spaces, not tabs"
end
test(string) click to toggle source
# File lib/fashion-police.rb, line 5
def test(string)
  not string.match(/\t/)
end