HEX
Server: Apache
System: Linux s198.coreserver.jp 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: nagasaki (10062)
PHP: 7.1.33
Disabled: NONE
Upload Files
File: //usr/local/rvm/gems/default/doc/method_source-1.0.0/ri/MethodSource/CodeHelpers/expression_at-i.ri
U:RDoc::AnyMethod[iI"expression_at:ETI",MethodSource::CodeHelpers#expression_at;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"PRetrieve the first expression starting on the given line of the given file.;To:RDoc::Markup::BlankLineo;
;	[I"8This is useful to get module or method source code.;T@o;
;	[I"Z@param [Array<String>, File, String] file  The file to parse, either as a File or as ;TI"E@param [Integer]  line_number  The line number at which to look.;To:RDoc::Markup::Verbatim;	[I")  NOTE: The first line in a file is
;TI"
line 1!
;T:@format0o;
;	[I"B@param [Hash] options The optional configuration parameters. ;TI"L@option options [Boolean] :strict  If set to true, then only completely;To;;	[I"Nvalid expressions are returned. Otherwise heuristics are used to extract
;TI":expressions that may have been valid inside an eval.
;T;
0o;
;	[I"K@option options [Integer] :consume  A number of lines to automatically;To;;	[I"Kconsume (add to the expression buffer) without checking for validity.
;T;
0o;
;	[I"5@return [String]  The first complete expression ;TI"O@raise [SyntaxError]  If the first complete expression can't be identified;T:
@fileI"&lib/method_source/code_helpers.rb;T:0@omit_headings_from_table_of_contents_below000[I"$(file, line_number, options={});T@,FI"CodeHelpers;TcRDoc::NormalModule00