Class: Twiddler::Lint::Rule

Inherits:
Object
  • Object
show all
Defined in:
lib/twiddler/lint.rb

Direct Known Subclasses

MissingStrokes

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(config) ⇒ Rule

Returns a new instance of Rule.



25
26
27
# File 'lib/twiddler/lint.rb', line 25

def initialize(config)
  @config = config
end

Class Method Details

.registerObject



15
16
17
18
# File 'lib/twiddler/lint.rb', line 15

def register
  @@registered ||= []
  @@registered << self
end

.registeredObject



20
21
22
# File 'lib/twiddler/lint.rb', line 20

def registered
  @@registered || []
end

Instance Method Details

#checkObject



29
30
31
# File 'lib/twiddler/lint.rb', line 29

def check()
  return ""
end