class HamlLint::Tree::NullNode
A null object version of a node that can be used as a safe default.
Public Class Methods
new(*_args)
click to toggle source
Instantiates a new {HamlLint::Tree::NullNode}, ignoring all input.
# File lib/haml_lint/tree/null_node.rb, line 7 def initialize(*_args); end
Public Instance Methods
disabled?(_linter)
click to toggle source
Overrides the disabled check to always say the linter is enabled.
@param _linter [HamlLint::Linter] the linter to check @return [false]
# File lib/haml_lint/tree/null_node.rb, line 13 def disabled?(_linter) false end