Permalink
Browse files

Cleaning up a few lines of code

  • Loading branch information...
1 parent 129eac0 commit 40d2c196b51038f34d956ad46bac259b1f48bae5 @ershad committed Dec 5, 2012
Showing with 3 additions and 4 deletions.
  1. +3 −4 activesupport/bin/generate_tables
@@ -61,10 +61,9 @@ module ActiveSupport
codepoint.combining_class = Integer($4)
#codepoint.bidi_class = $5
codepoint.decomp_type = $7
- codepoint.decomp_mapping = ($8=='') ? nil : $8.split.collect { |element| element.hex }
- #codepoint.bidi_mirrored = ($13=='Y') ? true : false
- codepoint.uppercase_mapping = ($16=='') ? 0 : $16.hex
- codepoint.lowercase_mapping = ($17=='') ? 0 : $17.hex
+ codepoint.decomp_mapping = ($8 == '') ? nil : $8.split.collect { |element| element.hex }
+ codepoint.uppercase_mapping = ($16 == '') ? 0 : $16.hex
+ codepoint.lowercase_mapping = ($17 == '') ? 0 : $17.hex
#codepoint.titlecase_mapping = ($18=='') ? nil : $18.hex
@ucd.codepoints[codepoint.code] = codepoint
end

0 comments on commit 40d2c19

Please sign in to comment.