Module: Reading::Parsing::Rows::Blank

Defined in:
lib/reading/parsing/rows/blank.rb

Overview

A row that is a blank line.

Class Method Summary collapse

Class Method Details

.column_classesArray

No columns.

Returns:



10
11
12
# File 'lib/reading/parsing/rows/blank.rb', line 10

def self.column_classes
  []
end

.match?(row_string) ⇒ Boolean

Is a blank line.

Parameters:

Returns:

  • (Boolean)


17
18
19
# File 'lib/reading/parsing/rows/blank.rb', line 17

def self.match?(row_string)
  row_string == "\n"
end