# File lib/rgen/util/name_helper.rb, line 34 def camelize(str) str.split(/[\W_]/).collect{|s| firstToUpper(s.downcase)}.join end
# File lib/rgen/util/name_helper.rb, line 14 def className(object) object.class.name =~ /::(\w+)$/; $1 end
# File lib/rgen/util/name_helper.rb, line 22 def firstToLower(str) str[0..0].downcase + ( str[1..-1] || "" ) end
# File lib/rgen/util/name_helper.rb, line 18 def firstToUpper(str) str[0..0].upcase + ( str[1..-1] || "" ) end
# File lib/rgen/util/name_helper.rb, line 10 def normalize(name) name.gsub(/\W/,'_') end
Generated with the Darkfish Rdoc Generator 2.