method
rc_file
rc_file(ext = IRBRC_EXT)
public
Hide source
# File lib/irb/init.rb, line 232 def IRB.rc_file(ext = IRBRC_EXT) if !@CONF[:RC_NAME_GENERATOR] rc_file_generators do |rcgen| @CONF[:RC_NAME_GENERATOR] ||= rcgen if File.exist?(rcgen.call(IRBRC_EXT)) @CONF[:RC_NAME_GENERATOR] = rcgen break end end end @CONF[:RC_NAME_GENERATOR].call ext end