require ‘rubygems’ => false

The value returned by require doesn’t tell whether there was an error or not (if the file can’t be found, a LoadError exception will be raised).

since require tries to avoid loading a file more than one time, it says whether you required the file for the first time (true) or if it had already been loaded (in this case returns false and doesn’t try to load the file again). So, the fact that in irb

require ‘rubygems’

returns false only means that the file rubygems.rb had already been loaded,
and it wasn’t necessary to load it a second time.

~$ irb
irb(main):001:0> require 'time'
=> true
irb(main):002:0> require 'time'
=> false

Leave a Reply

Your email address will not be published. Required fields are marked *

*

windows xp product key

windows xp product key

winrar free download

winrar free download

winzip activation code

winzip activation code

windows 7 ultimate product key

windows 7 ultimate product key

winzip registration code

winzip registration code

windows 7 activation crack

windows7 activation crack

download winrar free

download winrar free

free winrar

free winrar

windows 7 product key

windows 7 product key

winzip free download full version

winzip free download full version

free winzip

free winzip

windows 7 crack

windows 7 crack

free winrar download

free winrar download

windows 7 key generator

windows 7 key generator

winrar free

winrar free

winzip freeware

winzip freeware

winrar download free

winrar download free

winzip free download

winzip free download