Class: Drntest::UnknownDirective

Inherits:
Directive show all
Defined in:
lib/drntest/directive.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type, options) ⇒ UnknownDirective

Returns a new instance of UnknownDirective.



23
24
25
26
# File 'lib/drntest/directive.rb', line 23

def initialize(type, options)
  @type = type
  @options = options
end

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



21
22
23
# File 'lib/drntest/directive.rb', line 21

def options
  @options
end

#typeObject (readonly)

Returns the value of attribute type.



21
22
23
# File 'lib/drntest/directive.rb', line 21

def type
  @type
end