rc_file(ext = IRBRC_EXT) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/irb/init.rb, line 222
  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
Register or log in to add new notes.