Class: Codeowners::Checker::Group::Empty

Inherits:
Line
  • Object
show all
Defined in:
lib/codeowners/checker/group/empty.rb

Overview

Define line type empty line.

Instance Attribute Summary

Attributes inherited from Line

#parent

Class Method Summary collapse

Methods inherited from Line

#<=>, #==, build, #initialize, #pattern?, #remove!, subclasses, #to_content, #to_file, #to_s, #to_tree

Constructor Details

This class inherits a constructor from Codeowners::Checker::Group::Line

Class Method Details

.match?(line) ⇒ Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/codeowners/checker/group/empty.rb', line 10

def self.match?(line)
  line.empty?
end