2195件ヒット
[1-100件を表示]
(0.176秒)
ライブラリ
- ビルトイン (1113)
-
cgi
/ core (12) - csv (120)
-
irb
/ cmd / help (12) -
irb
/ context (36) -
irb
/ frame (12) -
irb
/ input-method (72) -
net
/ ftp (156) -
net
/ imap (24) -
net
/ pop (12) - openssl (24)
- optparse (24)
- pathname (48)
- prettyprint (12)
- psych (84)
- rake (24)
-
rdoc
/ markup (12) -
rdoc
/ text (12) - rexml (24)
- ripper (12)
-
ripper
/ filter (12) - rss (12)
-
rubygems
/ installer (12) -
shell
/ builtin-command (12) -
shell
/ filter (6) -
shell
/ system-command (6) - stringio (110)
- strscan (24)
- tracer (36)
-
webrick
/ httprequest (12) -
webrick
/ httpresponse (12) - zlib (48)
クラス
-
ARGF
. class (335) - Array (12)
- BasicObject (12)
- Binding (19)
- CGI (12)
- CSV (84)
-
CSV
:: FieldInfo (12) - Enumerator (24)
-
Enumerator
:: Yielder (6) -
Gem
:: Installer (12) - IO (343)
-
IRB
:: Context (36) -
IRB
:: ExtendCommand :: Help (12) -
IRB
:: Frame (12) -
IRB
:: ReadlineInputMethod (60) -
IRB
:: StdioInputMethod (12) - Module (36)
-
Net
:: FTP (156) -
Net
:: IMAP :: BodyTypeMessage (12) -
Net
:: IMAP :: BodyTypeText (12) -
Net
:: POPMail (12) - OptionParser (24)
- Pathname (48)
- PrettyPrint (12)
-
Psych
:: Emitter (24) -
Psych
:: Nodes :: Node (24) -
Psych
:: Parser :: Mark (12) -
Psych
:: SyntaxError (24) -
RDoc
:: Markup (12) -
RDoc
:: Options (48) -
REXML
:: ParseException (24) -
RSS
:: NotWellFormedError (12) -
Rake
:: FileList (12) - Ripper (12)
-
Ripper
:: Filter (12) -
RubyVM
:: AbstractSyntaxTree :: Node (14) -
RubyVM
:: InstructionSequence (12) -
Shell
:: Cat (6) -
Shell
:: Filter (6) -
Shell
:: SystemCommand (6) -
Shell
:: Tee (6) - String (216)
- StringIO (110)
- StringScanner (24)
- Thread (24)
-
Thread
:: Backtrace :: Location (12) - TracePoint (12)
- Tracer (36)
-
WEBrick
:: HTTPRequest (12) -
WEBrick
:: HTTPResponse (12) -
Zlib
:: GzipReader (48)
モジュール
- Enumerable (60)
- Kernel (12)
-
OpenSSL
:: Buffering (24) -
RDoc
:: Text (12)
キーワード
- [] (72)
-
add
_ trace _ func (12) -
beginning
_ of _ line? (12) - binread (12)
- bol? (12)
- chunk (12)
-
class
_ eval (12) -
const
_ source _ location (12) - context (12)
- convert (36)
- dir (24)
- each (156)
-
each
_ char (12) -
each
_ codepoint (24) -
each
_ line (180) - egrep (12)
- encoding (12)
- eof? (12)
- eval (12)
- evaluate (12)
- execute (12)
-
field
_ size _ limit (12) - file (12)
-
first
_ lineno (19) -
get
_ line (12) -
get
_ line _ types (12) - gets (84)
- gettextfile (24)
-
include
_ line _ numbers (12) -
inline
_ source (12) -
inplace
_ mode (12) -
inplace
_ mode= (12) -
instance
_ eval (12) -
last
_ lineno (7) -
line
_ numbers (12) -
line
_ numbers= (12) -
line
_ width (12) -
line
_ width= (12) - lineno (108)
- lineno= (12)
- lines (132)
- list (24)
- ls (24)
-
module
_ eval (12) - newline (12)
- next (12)
-
next
_ values (12) - offset (12)
-
parse
_ csv (12) - pos (24)
- pread (8)
- print (12)
- puttextfile (24)
-
readable
_ atfer _ eof? (12) - readline (120)
- readlines (108)
- reopen (24)
-
request
_ line (12) - retrlines (12)
-
set
_ get _ line _ procs (12) -
set
_ trace _ func (12) - shebang (12)
- slice (72)
-
slice
_ before (24) -
source
_ location (7) - stat (12)
-
status
_ line (12) - storlines (24)
-
strip
_ newlines (12) - sum (36)
- summarize (24)
- tell (24)
-
to
_ a (36) -
to
_ csv (12) -
to
_ proc (6) -
to
_ yaml (12) - top (12)
-
trace
_ func (24) -
use
_ readline (12) -
use
_ readline? (12) - yaml (12)
検索結果
先頭5件
-
IRB
:: ReadlineInputMethod # line(line _ no) -> String (24325.0) -
引数 line_no で指定した過去の入力を行単位で返します。
...引数 line_no で指定した過去の入力を行単位で返します。
@param line_no 取得する行番号を整数で指定します。... -
IRB
:: StdioInputMethod # line(line _ no) -> String (21325.0) -
引数 line_no で指定した過去の入力を行単位で返します。
...引数 line_no で指定した過去の入力を行単位で返します。
@param line_no 取得する行番号を整数で指定します。... -
Psych
:: SyntaxError # line -> Integer (21202.0) -
エラーが生じた行番号を返します。
エラーが生じた行番号を返します。 -
REXML
:: ParseException # line -> Integer (21202.0) -
パースエラーが起きた(XML上の)場所を行数で返します。
パースエラーが起きた(XML上の)場所を行数で返します。 -
RSS
:: NotWellFormedError # line (21102.0) -
@todo
...@todo... -
CSV
:: FieldInfo # line -> Integer (18208.0) -
行番号を返します。
...。
//emlist[例][ruby]{
require 'csv'
csv = CSV.new("date1,date2,date3\n2018-07-09,2018-07-10\n2018-08-09,2018-08-10", headers: true)
csv.convert do |field,field_info|
p field_info.line
Date.parse(field)
end
p csv.to_a
# => 2
# => 2
# => 3
# => 3
# => [#<CSV::Row "date1":#<Date: 2018-07-09 (......(2458309j,0s,0n),+0s,2299161j)> "date2":#<Date: 2018-07-10 ((2458310j,0s,0n),+0s,2299161j)> "date3":nil>, ...]
//}... -
Psych
:: Parser :: Mark # line -> Integer (18202.0) -
先頭からの行数。
先頭からの行数。 -
Tracer
# set _ get _ line _ procs(file , p = proc) (15302.0) -
@todo
...@todo... -
RubyVM
:: AbstractSyntaxTree :: Node # first _ lineno -> Integer (15201.0) -
ソースコード中で、self を表すテキストが最初に現れる行番号を返します。
...ソースコード中で、self を表すテキストが最初に現れる行番号を返します。
行番号は1-originです。
//emlist[][ruby]{
node = RubyVM::AbstractSyntaxTree.parse('1 + 2')
p node.first_lineno # => 1
//}...