class Coppertone::Modifier::Unknown

Object representing unknown modifiers - those that aren't explicitly defined by the SPF spec

Attributes

label[R]

Public Class Methods

new(label, attributes) click to toggle source
Calls superclass method Coppertone::Modifier::new
# File lib/coppertone/modifier/unknown.rb, line 8
def initialize(label, attributes)
  super(attributes)
  @label = label
  @macro_string = Coppertone::MacroString.new(attributes)
rescue Coppertone::MacroStringParsingError
  raise Coppertone::InvalidModifierError
end

Public Instance Methods

context_dependent?() click to toggle source
# File lib/coppertone/modifier/unknown.rb, line 16
def context_dependent?
  false
end
includes_ptr?() click to toggle source
# File lib/coppertone/modifier/unknown.rb, line 20
def includes_ptr?
  false
end