--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: "Get line <tt>line_number</tt> from file named <tt>filename</tt>. Return nil if there was a problem. If a file named filename is not found, the function will look for it in the $: path array."
- !ruby/struct:SM::Flow::P 
  body: "Examples:"
- !ruby/struct:SM::Flow::VERB 
  body: " lines = LineCache::getline('/tmp/myfile.rb)\n # Same as above\n $: &lt;&lt; '/tmp'\n lines = Dir.chdir('/tmp') do\n    lines = LineCache::getlines ('myfile.rb')\n end\n"
full_name: LineCache#getline
is_singleton: false
name: getline
params: (filename, line_number, reload_on_change=true)
visibility: public
