class C def open() # how to call global open function from here? end end -- Posted via http://www.ruby-forum.com/.