Class: Asuka::Rules::Initial

Inherits:
Abstract show all
Defined in:
lib/asuka/rules.rb

Instance Attribute Summary

Attributes inherited from Abstract

#acc, #line_formatter, #result

Instance Method Summary collapse

Methods inherited from Abstract

#initialize, #process, #transition

Constructor Details

This class inherits a constructor from Asuka::Rules::Abstract

Instance Method Details

#match?(line) ⇒ Boolean

Returns:

  • (Boolean)


37
38
39
# File 'lib/asuka/rules.rb', line 37

def match?(line)
  line == ""
end