1741件ヒット
[1-100件を表示]
(0.101秒)
別のキーワード
ライブラリ
- ビルトイン (863)
-
cgi
/ core (12) - csv (72)
-
irb
/ frame (12) -
irb
/ input-method (48) -
net
/ ftp (96) -
net
/ imap (24) -
net
/ pop (12) - openssl (48)
- pathname (48)
- prettyprint (12)
- psych (72)
- rake (24)
-
rdoc
/ markup (12) -
rdoc
/ text (12) - rexml (24)
- ripper (12)
-
ripper
/ filter (12) -
rubygems
/ installer (12) - stringio (110)
- strscan (24)
- tracer (36)
-
webrick
/ httprequest (12) -
webrick
/ httpresponse (12) - zlib (120)
クラス
-
ARGF
. class (426) - Array (12)
- Binding (19)
- CGI (12)
- CSV (36)
-
CSV
:: FieldInfo (12) -
Gem
:: Installer (12) - IO (152)
-
IRB
:: Frame (12) -
IRB
:: ReadlineInputMethod (36) -
IRB
:: StdioInputMethod (12) - Module (12)
-
Net
:: FTP (96) -
Net
:: IMAP :: BodyTypeMessage (12) -
Net
:: IMAP :: BodyTypeText (12) -
Net
:: POPMail (12) - Pathname (48)
- PrettyPrint (12)
-
Psych
:: Emitter (12) -
Psych
:: Nodes :: Node (24) -
Psych
:: Parser :: Mark (12) -
Psych
:: SyntaxError (24) -
RDoc
:: Markup (12) -
REXML
:: ParseException (24) -
Rake
:: FileList (12) - Ripper (12)
-
Ripper
:: Filter (12) -
RubyVM
:: AbstractSyntaxTree :: Node (14) -
RubyVM
:: InstructionSequence (12) - String (216)
- StringIO (110)
- StringScanner (24)
-
Thread
:: Backtrace :: Location (12) - TracePoint (12)
- Tracer (36)
-
WEBrick
:: HTTPRequest (12) -
WEBrick
:: HTTPResponse (12) -
Zlib
:: GzipReader (120)
モジュール
- Kernel (12)
-
OpenSSL
:: Buffering (48) -
RDoc
:: Text (12)
キーワード
- [] (72)
-
beginning
_ of _ line? (12) - binread (12)
- bol? (12)
-
const
_ source _ location (12) - context (12)
- dir (24)
- each (108)
-
each
_ char (24) -
each
_ codepoint (24) -
each
_ line (156) - egrep (12)
- encoding (12)
- eof (12)
- eof? (12)
- eval (12)
-
field
_ size _ limit (12) - file (12)
-
first
_ lineno (19) -
get
_ line (12) -
get
_ line _ types (12) - gets (84)
- gettextfile (24)
-
inplace
_ mode (12) -
inplace
_ mode= (12) -
last
_ lineno (7) -
line
_ width (12) - lineno (108)
- lineno= (36)
- lines (104)
- list (24)
- ls (24)
- newline (12)
- offset (12)
-
parse
_ csv (12) - pos (24)
- pos= (12)
- pread (8)
- print (12)
- readline (120)
- readlines (120)
-
request
_ line (12) - rewind (12)
-
set
_ get _ line _ procs (12) - shebang (12)
- slice (72)
-
source
_ location (7) -
status
_ line (12) -
strip
_ newlines (12) - sum (12)
- tell (24)
-
to
_ a (36) -
to
_ csv (12) -
to
_ yaml (12) - top (12)
-
trace
_ func (24) - yaml (12)
検索結果
先頭5件
-
IRB
:: ReadlineInputMethod # line(line _ no) -> String (21325.0) -
引数 line_no で指定した過去の入力を行単位で返します。
...引数 line_no で指定した過去の入力を行単位で返します。
@param line_no 取得する行番号を整数で指定します。... -
IRB
:: StdioInputMethod # line(line _ no) -> String (18325.0) -
引数 line_no で指定した過去の入力を行単位で返します。
...引数 line_no で指定した過去の入力を行単位で返します。
@param line_no 取得する行番号を整数で指定します。... -
CSV
:: FieldInfo # line -> Integer (18208.0) -
行番号を返します。
...'
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... -
Psych
:: Parser :: Mark # line -> Integer (18202.0) -
先頭からの行数。
先頭からの行数。 -
Psych
:: SyntaxError # line -> Integer (18202.0) -
エラーが生じた行番号を返します。
エラーが生じた行番号を返します。 -
REXML
:: ParseException # line -> Integer (18202.0) -
パースエラーが起きた(XML上の)場所を行数で返します。
パースエラーが起きた(XML上の)場所を行数で返します。 -
Tracer
# get _ line(file , line) -> String (12309.0) -
@todo
...@todo
@param file
@param line... -
RDoc
:: Markup # get _ line _ types -> [Symbol] (12202.0) -
変換する文字列の各行のタイプを Symbol の配列で返します。
変換する文字列の各行のタイプを Symbol の配列で返します。
rdoc ライブラリのデバッグ用途に使用します。
SM::SimpleMarkup#convert の後に実行します。
@see SM::SimpleMarkup#convert -
StringScanner
# beginning _ of _ line? -> bool (12202.0) -
スキャンポインタが行頭を指しているなら true を、 行頭以外を指しているなら false を返します。
...ていることです。
文字列末尾は必ずしも行頭ではありません。
//emlist[例][ruby]{
require 'strscan'
s = StringScanner.new("test\nstring")
s.bol? # => true
s.scan(/\w+/)
s.bol? # => false
s.scan(/\n/)
s.bol? # => true
s.scan(/\w+/)
s.bol? # => fa...