Show
Ignore:
Timestamp:
01/29/08 23:01:39 (10 months ago)
Author:
deveiant
Message:

Started update of specs and build system

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/linguistics/iso639.rb

    r39 r98  
    1919    # Read through the source for this file, capturing everything 
    2020    # between __END__ and __END_DATA__ tokens. 
    21     inDataSection = false 
     21    in_data_section = false 
    2222    File::readlines( __FILE__ ).each {|line| 
    2323        case line 
    2424        when /^__END_DATA__$/ 
    25             inDataSection = false 
     25            in_data_section = false 
    2626            false 
    2727             
    2828        when /^__END__$/ 
    29             inDataSection = true 
     29            in_data_section = true 
    3030            false 
    3131             
    3232        else 
    33             if inDataSection 
     33            if in_data_section 
    3434                codes, desc = line[0,15].split(%r{/|\s+}), line[15...-1] 
    3535                codes.delete_if {|code| code.empty?}