Class: FashionPolice::SpacesNotTabs
- Inherits:
-
Object
- Object
- FashionPolice::SpacesNotTabs
- Defined in:
- lib/fashion-police.rb
Instance Method Summary collapse
Instance Method Details
#error_message ⇒ Object
9 10 11 |
# File 'lib/fashion-police.rb', line 9 def "Use spaces, not tabs" end |
#test(string) ⇒ Object
5 6 7 |
# File 'lib/fashion-police.rb', line 5 def test(string) not string.match(/\t/) end |