Class: Conpar::Directive::Empty

Inherits:
Base
  • Object
show all
Defined in:
lib/conpar/directive/empty.rb

Overview

Class for line that contains only whitespace

Constant Summary collapse

SIGNATURE =
/^\s*$/

Instance Attribute Summary

Attributes inherited from Base

#content, #ilk, #line_number, #line_span, #match_data, #rule, #sub_ilk

Instance Method Summary collapse

Constructor Details

#initialize(content, options = {}) ⇒ Empty


6
7
8
9
# File 'lib/conpar/directive/empty.rb', line 6

def initialize(content, options={})
  super
  @ilk = :empty
end