Possible duplicate:Define Uncertainty in Ruby
In php, I could do the following:
$myVariable = 'foo'; echo $myVariable; unset( $myVariable );
How can I do basically the same thing on ruby ββground?
You can set it to nil. Example: your_variable = "your name" Now that you want to "cancel" it, you can do your_variable = nil
Source: https://habr.com/ru/post/1438494/More articles:How to get a USB resistive touch screen to work on Android. - androidDo I need to use @synchronized when calling the reloadData UITableView method? - iosfunction throwing stack overflow in IE9 - jqueryhaskell - rotate a list of lists into one list - functionHow can I draw a layer in front, but make it a choice in the back? - javascriptIs it a good idea to open several Mongolian connections from a single Node.js application? - node.jsHow to use kartkar here? - lispGoogle Maps API: Geocode returns different coordinates, and Google maps google-mapsThe longest descending sequence in Lisp - listImages disappear when you click on iPhone Safari - safariAll Articles