class String
lib/ritex/mathml/functions.rb – MathML conversions of TeX markup “functions”. See Ritex::MathML
- Author
-
William Morgan (mailto: wmorgan-ritex@masanjin.net)
- Copyright
-
Copyright 2005 William Morgan
- License
-
GNU GPL version 2
Public Instance Methods
map_chars() { |chr| ... }
click to toggle source
map over the characters in a string
# File lib/ritex/mathml/functions.rb, line 10 def map_chars ret = "" each_byte { |b| ret += yield b.chr } ret end