diff options
author | Ralph Amissah <ralph@amissah.com> | 2012-01-10 22:50:12 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2012-01-10 22:53:33 -0500 |
commit | df67ee1079d074dc2af54aa87187c6538e73d5d7 (patch) | |
tree | 8951ce72708a2db81fe16e55faafc41b9b879b2c /lib/sisu/v3dv/character_encoding.rb | |
parent | v3dv: class names, remove "SiSU_" (reserve for module names for consistency) (diff) |
v3dv: class names, use more CamelCase
Diffstat (limited to 'lib/sisu/v3dv/character_encoding.rb')
-rw-r--r-- | lib/sisu/v3dv/character_encoding.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v3dv/character_encoding.rb b/lib/sisu/v3dv/character_encoding.rb index f576b461..1931c466 100644 --- a/lib/sisu/v3dv/character_encoding.rb +++ b/lib/sisu/v3dv/character_encoding.rb @@ -73,7 +73,7 @@ module SiSU_CharacterEncode @ce_tbl=@db.create_table.documents(:character_encoding, :glyph,:String, :dec,:Integer, :hex,:String, :rb,:String, :html,:String, :html_name,:String, :tex,:String, :tex_licr,:String, :tex_alt,:String, :name,:String) end def db - x=Character_encoding.new.table + x=CharacterEncoding.new.table #x.each {|y| puts y[2].inspect} x.each do |c| #puts "#{c[0]}, #{c[1]}, #{c[2]}, #{c[3]}, #{c[4]}, #{c[5]}, #{c[6]}, #{c[7]}, #{c[8]}, #{c[9]}" @@ -138,7 +138,7 @@ module SiSU_CharacterEncode end end end - class Character_encoding + class CharacterEncoding def table x=[] #:glyph, :dec,:hex, :rb, :xml , :html_name, :tex, :tex_licr, :tex_alt, :name |