class PreCommit::Checks::Tabs

Public Class Methods

description() click to toggle source
# File lib/plugins/pre_commit/checks/tabs.rb, line 15
def self.description
  "Finds ruby files with tabulation character before text in line."
end

Public Instance Methods

message() click to toggle source
# File lib/plugins/pre_commit/checks/tabs.rb, line 7
def message
  "detected tab before initial space:"
end
pattern() click to toggle source
# File lib/plugins/pre_commit/checks/tabs.rb, line 11
def pattern
  "^ *\t"
end