Class: Conpar::Directive::AccessList::UnknownType

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

Overview

Class that matches a basic signature of an AccessList but is not a recognized type

Constant Summary

Constants inherited from Base

Base::NAME, Base::SIGNATURE

Constants inherited from Base

Base::SIGNATURE

Instance Attribute Summary

Attributes inherited from Base

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

Instance Method Summary collapse

Methods inherited from Base

#to_s

Constructor Details

#initialize(content = "", options = {}) ⇒ UnknownType

Returns a new instance of UnknownType


7
8
9
10
11
# File 'lib/conpar/directive/access_list/unknown_type.rb', line 7

def initialize(content="", options={})
  super
  @sub_ilk = "unknown"
  self
end