3899件ヒット
[1-100件を表示]
(0.157秒)
種類
ライブラリ
- English (11)
- ビルトイン (1250)
- benchmark (11)
- bigdecimal (55)
-
bigdecimal
/ util (11) - csv (44)
- date (33)
- digest (33)
- erb (11)
- fiddle (110)
-
fiddle
/ import (11) - ipaddr (33)
-
irb
/ context (44) -
irb
/ inspector (11) - json (11)
- matrix (22)
- monitor (11)
- openssl (418)
- optparse (44)
- ostruct (22)
- pathname (593)
- rake (88)
- readline (11)
- resolv (33)
- rexml (11)
-
rexml
/ document (253) -
rubygems
/ package / tar _ header (11) -
rubygems
/ platform (11) -
rubygems
/ requirement (11) -
rubygems
/ version (22) - set (14)
-
shell
/ filter (12) - socket (44)
- stringio (22)
- uri (99)
-
webrick
/ httprequest (11) -
webrick
/ httpresponse (77) -
webrick
/ httputils (11) -
webrick
/ httpversion (11) -
webrick
/ log (66) - win32ole (132)
- zlib (22)
クラス
-
ARGF
. class (33) - Addrinfo (22)
- Array (77)
- BasicObject (11)
-
Benchmark
:: Tms (11) - BigDecimal (66)
- Bignum (6)
-
CGI
:: Cookie (11) -
CSV
:: Row (22) -
CSV
:: Table (22) - Complex (11)
- Data (4)
- Date (11)
- DateTime (22)
-
Digest
:: Base (22) - ERB (11)
- Encoding (22)
-
Enumerator
:: Lazy (20) - Exception (22)
- FalseClass (22)
-
Fiddle
:: Pointer (110) - File (11)
- Fixnum (6)
- Float (22)
-
Gem
:: Package :: TarHeader (11) -
Gem
:: Platform (11) -
Gem
:: Requirement (11) -
Gem
:: Version (22) - Hash (88)
- IO (33)
- IPAddr (33)
-
IRB
:: Context (44) -
IRB
:: Inspector (11) - Integer (22)
- MatchData (11)
- Matrix (11)
- Method (22)
- Module (33)
- NameError (11)
- NilClass (11)
- Object (58)
-
OpenSSL
:: BN (22) -
OpenSSL
:: Config (11) -
OpenSSL
:: HMAC (33) -
OpenSSL
:: Netscape :: SPKI (22) -
OpenSSL
:: PKCS7 (22) -
OpenSSL
:: PKey :: DH (33) -
OpenSSL
:: PKey :: DSA (66) -
OpenSSL
:: PKey :: RSA (66) -
OpenSSL
:: X509 :: CRL (22) -
OpenSSL
:: X509 :: Certificate (22) -
OpenSSL
:: X509 :: Extension (11) -
OpenSSL
:: X509 :: Name (55) -
OpenSSL
:: X509 :: Request (22) - OpenStruct (22)
- OptionParser (22)
-
OptionParser
:: ParseError (22) - Pathname (593)
- Proc (22)
-
Process
:: Status (11) -
REXML
:: Attribute (22) -
REXML
:: CData (33) -
REXML
:: Comment (22) -
REXML
:: Declaration (11) -
REXML
:: DocType (11) -
REXML
:: Element (22) -
REXML
:: Elements (33) -
REXML
:: Entity (22) -
REXML
:: ExternalEntity (11) -
REXML
:: NotationDecl (11) -
REXML
:: ParseException (11) -
REXML
:: Text (22) -
Rake
:: EarlyTime (11) -
Rake
:: FileList (11) -
Rake
:: InvocationChain (22) -
Rake
:: InvocationChain :: EmptyInvocationChain (11) -
Rake
:: Task (11) -
Rake
:: TaskArguments (22) - Range (33)
- Rational (22)
- Regexp (22)
-
Resolv
:: DNS :: Name (11) -
Resolv
:: IPv4 (11) -
Resolv
:: IPv6 (11) - Set (14)
-
Shell
:: Filter (12) -
Socket
:: Option (22) - String (99)
- StringIO (22)
- Struct (22)
- Symbol (247)
- Thread (25)
-
Thread
:: Backtrace :: Location (22) - Time (16)
- TrueClass (11)
-
URI
:: FTP (22) -
URI
:: Generic (55) -
URI
:: LDAP (22) - UnboundMethod (22)
- UncaughtThrowError (10)
- Vector (11)
-
WEBrick
:: BasicLog (66) -
WEBrick
:: Cookie (11) -
WEBrick
:: HTTPRequest (11) -
WEBrick
:: HTTPResponse (77) -
WEBrick
:: HTTPUtils :: FormData (11) -
WEBrick
:: HTTPVersion (11) -
WIN32OLE
_ EVENT (11) -
WIN32OLE
_ METHOD (22) -
WIN32OLE
_ PARAM (22) -
WIN32OLE
_ TYPE (33) -
WIN32OLE
_ TYPELIB (22) -
WIN32OLE
_ VARIABLE (22) -
Zlib
:: GzipWriter (22)
モジュール
-
Fiddle
:: Importer (11) -
JSON
:: Generator :: GeneratorMethods :: Object (11) - Kernel (77)
-
OpenSSL
:: Buffering (11) -
REXML
:: Node (11)
オブジェクト
- ENV (11)
-
Readline
:: HISTORY (11) - main (22)
キーワード
-
$ ERROR _ INFO (11) - % (22)
- +@ (11)
- -@ (11)
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - << (55)
- =~ (11)
- Base (11)
- COMPAT (11)
- ExternalEntity (11)
- MULTILINE (11)
- MonitorMixin (11)
-
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 0 . 0 (4) - NotationDecl (11)
- Numeric (11)
- ONELINE (11)
- RFC2253 (11)
- String (11)
- [] (77)
- []= (22)
-
_ _ to _ s _ _ (11) - add (11)
-
add
_ element (11) -
add
_ namespace (11) - append (11)
- atime (11)
- basename (11)
- bigdecimal (11)
- bind (11)
- binread (11)
- binwrite (11)
- birthtime (10)
- body= (11)
- build (44)
- capitalize (11)
- chmod (11)
- chown (11)
- chunked= (11)
-
content
_ length (11) -
content
_ length= (11) - ctime (11)
- data (11)
- debug (11)
-
def
_ inspector (11) -
define
_ singleton _ method (22) - directory? (11)
- dirname (11)
- downcase (8)
-
each
_ entry (11) -
each
_ line (22) -
end
_ with? (5) - entities (11)
- error (11)
- exist? (11)
- export (55)
- extname (11)
- fatal (11)
- file? (11)
- find (22)
- format (11)
- ftype (11)
- grep (11)
-
grep
_ v (9) - handler= (11)
- help (11)
- hex (11)
- hexdigest (22)
-
http
_ version (11) - id2name (11)
- info (11)
- inspect (258)
- inspect? (11)
- intern (11)
- irb (11)
-
irb
/ completion (11) -
irb
/ ext / math-mode (4) - join (11)
- lchmod (22)
- lchown (11)
- length (11)
- lstat (11)
-
make
_ link (11) -
make
_ symlink (11) - match (11)
- merge! (11)
-
method
_ missing (11) - mkdir (11)
- mkpath (11)
- modulo (11)
- mtime (11)
- name (81)
- new (33)
- normalize (11)
- normalize! (11)
- oct (11)
- open (22)
- opendir (22)
- parse (11)
- pipe? (11)
- print (22)
- profile (6)
- ptr (11)
- puts (11)
- read (11)
- readlines (11)
- readlink (11)
- ref (11)
- remainder (11)
- rmdir (11)
- rmtree (11)
-
ruby 1
. 6 feature (11) -
set
_ trace _ func (11) - setgid? (11)
- setuid? (11)
- size (22)
- size? (11)
- slice (55)
- split (11)
- sprintf (11)
- sprintf フォーマット (11)
- src (11)
-
start
_ with? (5) - stat (11)
- sticky? (11)
- string (11)
- strptime (11)
- succ (11)
- swapcase (8)
- symlink? (11)
- sysopen (11)
- syswrite (11)
-
to
_ csv (22) -
to
_ digits (11) -
to
_ f (11) -
to
_ i (11) -
to
_ json (11) -
to
_ path (11) -
to
_ pem (110) -
to
_ proc (11) -
to
_ sockaddr (11) -
to
_ str (44) -
to
_ string (22) -
to
_ sym (22) - tracer (11)
-
transform
_ keys (17) -
transform
_ keys! (17) -
transform
_ values (16) -
transform
_ values! (16) - uniq (22)
- uniq! (22)
- upcase (8)
- userinfo= (11)
- utime (11)
- value (22)
- version (11)
- warn (22)
-
world
_ writable? (11) - writable? (11)
-
writable
_ real? (11) - write (66)
-
yield
_ self (14) - | (6)
- メソッド呼び出し(super・ブロック付き・yield) (9)
検索結果
先頭5件
-
irb
/ ext / math-mode (32016.0) -
irb コマンドで実行結果を Object#inspect の代わりに Object#to_s した結果で表示するためのサブライブラリです。
...irb コマンドで実行結果を Object#inspect の代わりに
Object#to_s した結果で表示するためのサブライブラリです。
conf.math_mode か IRB.conf[:MATH_MODE] に true を設定する事で使用できま
す。ただし、inspect_mode が設定されていた場合は ins... -
Rake
:: InvocationChain :: EmptyInvocationChain # to _ s -> String (30301.0) -
'TOP' という文字列を返します。
'TOP' という文字列を返します。 -
irb (26330.0)
-
irb は Interactive Ruby の略です。 irb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。
...irb は Interactive Ruby の略です。
irb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。
=== irb の使い方
Ruby さえ知っていれば irb を使うのは簡単です。
irb コマンドを実行すると、以下のようなプロン......す。
readline ライブラリがインストールされている時には
自動的にコマンドライン編集や履歴の機能が使えるようになります。
=== irb のコマンドラインオプション
irb [options] file_name opts
options:
-f ~/.irbrc を読......rnel.#printf のように
「%」を用いた記法が使えます。
フォーマット文字列で使用可能な記法は以下の通りです。
: %N
起動しているコマンド名(IRB::Context#irb_name)
: %m
main オブジェクト (self) を to_s した文字列
: %M
main オ... -
irb
/ completion (26012.0) -
irb の completion 機能を提供するライブラリです。
...irb の completion 機能を提供するライブラリです。
=== 使い方
$ irb -r irb/completion
とするか, ~/.irbrc 中に
require "irb/completion"
を入れてください.
irb実行中に require "irb/completion" してもよいです.
irb 実行中に [Tab] を押すとコ......全に補完します.
irb(main):001:0> in
in inspect instance_eval
include install_alias_method instance_of?
initialize install_aliases instance_variables
irb(main):001:0> inspect
"main"
irb(main):002:0> foo = Objec......foo.instance_eval foo.singleton_methods
foo.class foo.instance_of? foo.taint
foo.clone foo.instance_variables foo.tainted?
foo.display foo.is_a? foo.to_a
foo.dup foo.kind_of? foo.to_s
foo.eq... -
Rake
:: InvocationChain # to _ s -> String (24307.0) -
トップレベルのタスクから自身までの依存関係を文字列として返します。
...の依存関係を文字列として返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
invocation_chain= Rake::InvocationChain.new("task_a", Rake::InvocationChain::EMPTY)
invocation_chain.to_s # => "TOP => task_a"
end
//}... -
BigDecimal
# to _ s -> String (21362.0) -
self を文字列に変換します (デフォルトは "0.xxxxxen" の形になります)。
... Integer または String で指定します。
//emlist[][ruby]{
require "bigdecimal"
BigDecimal("1.23456").to_s # ==> "0.123456e1"
//}
引数 n に正の整数が指定されたときは、小数点で分けられる左右部分を、
それぞれ n 桁毎に空白で区切ります。
//emli......st[][ruby]{
require "bigdecimal"
BigDecimal("0.1234567890123456789").to_s(10) # => "0.1234567890 123456789e0"
//}
引数 n に正の整数を表す文字列を指定することもできます。
//emlist[][ruby]{
require "bigdecimal"
BigDecimal("0.1234567890123456789").to_s("10") # => "0.123456......' ' が付きます。負の場合は常に '-' が付きます。
//emlist[][ruby]{
require "bigdecimal"
BigDecimal("0.123456").to_s(" 3") # => " 0.123 456e0"
BigDecimal("0.123456").to_s("+3") # => "+0.123 456e0"
BigDecimal("-0.123456").to_s("3") # => "-0.123 456e0"
//}
さらに文字列の最... -
BigDecimal
# to _ s(n) -> String (21362.0) -
self を文字列に変換します (デフォルトは "0.xxxxxen" の形になります)。
... Integer または String で指定します。
//emlist[][ruby]{
require "bigdecimal"
BigDecimal("1.23456").to_s # ==> "0.123456e1"
//}
引数 n に正の整数が指定されたときは、小数点で分けられる左右部分を、
それぞれ n 桁毎に空白で区切ります。
//emli......st[][ruby]{
require "bigdecimal"
BigDecimal("0.1234567890123456789").to_s(10) # => "0.1234567890 123456789e0"
//}
引数 n に正の整数を表す文字列を指定することもできます。
//emlist[][ruby]{
require "bigdecimal"
BigDecimal("0.1234567890123456789").to_s("10") # => "0.123456......' ' が付きます。負の場合は常に '-' が付きます。
//emlist[][ruby]{
require "bigdecimal"
BigDecimal("0.123456").to_s(" 3") # => " 0.123 456e0"
BigDecimal("0.123456").to_s("+3") # => "+0.123 456e0"
BigDecimal("-0.123456").to_s("3") # => "-0.123 456e0"
//}
さらに文字列の最... -
Time
# to _ s -> String (21361.0) -
時刻を文字列に変換した結果を返します。 以下のようにフォーマット文字列を使って strftime を呼び出すのと同じです。
...strftime を呼び出すのと同じです。
//emlist[][ruby]{
t = Time.local(2000,1,2,3,4,5,6)
p t.to_s # => "2000-01-02 03:04:05 +0900"
p t.strftime("%Y-%m-%d %H:%M:%S %z") # => "2000-01-02 03:04:05 +0900"
p t.utc.to_s # => "2000-01-01 1......8:04:05 UTC"
p t.strftime("%Y-%m-%d %H:%M:%S UTC") # => "2000-01-01 18:04:05 UTC"
//}
戻り値の文字エンコーディングは Encoding::US_ASCII です。... -
Integer
# to _ s(base=10) -> String (21337.0) -
整数を 10 進文字列表現に変換します。
...に変換します。
//emlist[][ruby]{
p 10.to_s(2) # => "1010"
p 10.to_s(8) # => "12"
p 10.to_s(16) # => "a"
p 35.to_s(36) # => "z"
//}
@return 数値の文字列表現
@param base 基数となる 2 - 36 の数値。
@raise ArgumentError base に 2 - 36 以外の数値を指定し... -
Rational
# to _ s -> String (21325.0) -
自身を人間が読みやすい形の文字列表現にして返します。
...5", "-17/7" のように10進数の表記を返します。
@return 有理数の表記にした文字列を返します。
//emlist[例][ruby]{
Rational(3, 4).to_s # => "3/4"
Rational(8).to_s # => "8/1"
Rational(-8, 6).to_s # => "-4/3"
Rational(0.5).to_s # => "1/2"
//}
@see Rational#inspec...