Method: Wardite::Instance#data_count_section
- Defined in:
- lib/wardite.rb
#data_count_section ⇒ Object
158 159 160 161 162 163 164 165 166 167 |
# File 'lib/wardite.rb', line 158 def data_count_section sec = @sections.find{|s| s.code == Const::SectionDataCount } if !sec return nil end if !sec.is_a?(DataCountSection) raise(GenericError, "[BUG] found invalid data section") end sec end |