543件ヒット
[1-100件を表示]
(0.094秒)
別のキーワード
ライブラリ
- English (11)
- ビルトイン (98)
- csv (22)
-
fiddle
/ import (11) - openssl (22)
- optparse (44)
- pathname (99)
- rake (33)
- rexml (11)
-
rexml
/ document (22) -
rubygems
/ version (22) - socket (22)
-
webrick
/ httpresponse (44) -
webrick
/ httpversion (11) - zlib (22)
クラス
-
CSV
:: Table (22) - Exception (22)
-
Gem
:: Version (22) -
OpenSSL
:: X509 :: Extension (11) - OptionParser (22)
-
OptionParser
:: ParseError (22) - Pathname (99)
-
REXML
:: Child (11) -
REXML
:: ParseException (11) -
Rake
:: InvocationChain (11) -
Rake
:: InvocationChain :: EmptyInvocationChain (11) - Rational (11)
-
Socket
:: Option (22) - Symbol (32)
-
Thread
:: Backtrace :: Location (11) -
WEBrick
:: HTTPResponse (44) -
WEBrick
:: HTTPVersion (11) -
Zlib
:: GzipWriter (22)
モジュール
-
Fiddle
:: Importer (11) - Kernel (33)
-
OpenSSL
:: Buffering (11)
キーワード
-
$ ERROR _ INFO (11) -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - << (11)
- InvocationChain (11)
-
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 0 . 0 (4) - NotationDecl (11)
- append (11)
- bind (11)
- binread (11)
- binwrite (11)
- body= (11)
- capitalize (8)
-
content
_ length (11) -
content
_ length= (11) - ctime (11)
- data (11)
- downcase (8)
-
each
_ line (22) - help (11)
-
http
_ version (11) - inspect (22)
-
irb
/ completion (11) -
previous
_ sibling= (11) - print (22)
- puts (11)
- read (11)
- readlines (11)
-
ruby 1
. 6 feature (11) - swapcase (8)
- sysopen (11)
-
to
_ csv (11) - upcase (8)
- version (11)
- write (22)
検索結果
先頭5件
-
Rake
:: InvocationChain :: EmptyInvocationChain # to _ s -> String (27101.0) -
'TOP' という文字列を返します。
...'TOP' という文字列を返します。... -
WEBrick
:: HTTPVersion # to _ s -> String (24113.0) -
自身を文字列に変換して返します。
...自身を文字列に変換して返します。
require 'webrick'
v = WEBrick::HTTPVersion.new('1.1')
p v.to_s #=> "1.1"... -
OpenSSL
:: X509 :: Extension # to _ s -> String (24101.0) -
拡張領域の内容を、文字列表現で返します。
拡張領域の内容を、文字列表現で返します。 -
REXML
:: ParseException # to _ s -> String (24101.0) -
例外情報を文字列化して返します。
例外情報を文字列化して返します。 -
Gem
:: Version # to _ s -> String (21119.0) -
バージョン情報を文字列として返します。
...バージョン情報を文字列として返します。
//emlist[][ruby]{
version = Gem::Version.new("1.2.3a")
p version.to_s # => "1.2.3a"
p version.version # => "1.2.3a"
//}... -
Exception
# to _ s -> String (21107.0) -
エラーメッセージをあらわす文字列を返します。
...エラーメッセージをあらわす文字列を返します。
//emlist[例][ruby]{
begin
1 + nil
rescue => e
p e.message #=> "nil can't be coerced into Fixnum"
end
//}... -
Socket
:: Option # to _ s -> String (21107.0) -
オプションのデータ(内容)を文字列で返します。
...のデータ(内容)を文字列で返します。
内容が整数や真偽値、もしくは struct linger であることがわかっている場合には、
Socket::Option#int, Socket::Option#bool, Socket::Option#linger
を用いて
to_s は過去との互換性のために存在します。... -
OptionParser
# to _ s -> String (21101.0) -
サマリの文字列を返します。
...mlist[例][ruby]{
require "optparse"
options = {}
opts = OptionParser.new do |opts|
opts.banner = "Usage: example.rb [options]"
opts.on("-v", "--[no-]verbose", "Run verbosely") do |v|
options[:verbose] = v
end
end
puts opts.help
# => Usage: example.rb [options]
# -v, --[no-]verbose... -
OptionParser
:: ParseError # to _ s -> String (21101.0) -
標準エラーに出力するメッセージを返します。
標準エラーに出力するメッセージを返します。
@return 文字列を返します。 -
CSV
:: Table # to _ s(options = Hash . new) -> String (15313.0) -
CSV の文字列に変換して返します。
...ションに :write_headers =>
false を指定するとヘッダを出力しません。
//emlist[][ruby]{
require 'csv'
csv = CSV.new("a,b,c\n1,2,3", headers: true)
table = csv.read
p table.to_csv # => "a,b,c\n1,2,3\n"
p table.to_csv(write_headers: false) # => "1,2,3\n"
//}...