Class: ReferenceWarning

Inherits:
TexWarning show all
Defined in:
lib/trex.rb

Instance Attribute Summary

Attributes inherited from TexWarning

#filestate, #limit

Instance Method Summary collapse

Methods inherited from TexWarning

#add_error, #empty?, #expand_input, #extract_line, #format_error, #format_warning_message, #handle, #has_error?, #render_line, #size, #sort, #to_s

Constructor Details

#initialize(limits = 1) ⇒ ReferenceWarning

Returns a new instance of ReferenceWarning.



886
887
888
889
890
# File 'lib/trex.rb', line 886

def initialize(limits=1)
    super('Reference Warnings',
          /Warning: Reference/,
          /[^ ]+ on page [0-9]+ undefined/, limits)
end