Boostnote ruby global variable2/28/2023 ![]() ![]() Has a singleton method $LOAD_PATH.resolve_feature_path(feature) that returns, which resolves the feature to the path the original Kernel#require method would load. $LOAD_PATH: Load path for searching Ruby scripts and extension libraries used by Kernel#load and Kernel#require. $?: The status of the last executed child process (thread-local).$$: The process number of the Ruby running this script.$0: Contains the name of the script being executed.$_: The last input line of string by gets or readline.$: The default output stream for Kernel#print and Kernel#printf.$.: The current input line number of the last file that was read. ![]() $ : The default separator for String#split. $,: The output field separator for Kernel#print and Array#join. $\: The output record separator for Kernel#print and IO#write. $/: The input record separator, newline by default.$=: This variable is no longer effective.$1: The Nth group of the last successful match.$ : The highest group matched by the last successful match.$': The string to the right of the last successful match.$`: The string to the left of the last successful match.$
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |