BasicObject
# File etc/mkconstants.rb, line 15 def c_str(str) '"' + str.gsub(C_ESC_PAT) {|s| C_ESC[s]} + '"' end
# File etc/mkconstants.rb, line 56 def each_const DEFS.each {|name, default_value| yield name, default_value } end
# File etc/mkconstants.rb, line 62 def each_name(pat) DEFS.each {|name, default_value| next if pat !~ name yield name } end
This page was generated for Ruby 2.5.0
Ruby-doc.org is a service of James Britt and Neurogami, an erratic source of art, music, and technology.
Generated with Ruby-doc Rdoc Generator 0.42.0.