class Object
Constants
- SCRIPT_LINES__
Defining SCRIPT_LINES__ causes Ruby to cache the lines of files it reads. The key the setting of __FILE__ at the time when Ruby does its read. LineCache keeps a separate copy of the lines elsewhere and never destroys SCRIPT_LINES__
Public Instance Methods
yes_no(var)
click to toggle source
# File lib/linecache19.rb, line 375 def yes_no(var) return var ? "" : "not " end