Class: TextFSM::Options::Required

Inherits:
Base
  • Object
show all
Defined in:
lib/textfsm/options.rb

Instance Attribute Summary

Attributes inherited from Base

#field

Instance Method Summary collapse

Methods inherited from Base

#after_assign, #after_clear, #after_initialize, #after_reset, #initialize, #visible?

Constructor Details

This class inherits a constructor from TextFSM::Options::Base

Instance Method Details

#before_record ⇒ Object



35
36
37
# File 'lib/textfsm/options.rb', line 35

def before_record
  throw :skip_record if field.empty?
end