2743件ヒット
[1-100件を表示]
(0.180秒)
ライブラリ
- English (11)
- ビルトイン (708)
- bigdecimal (55)
-
bigdecimal
/ util (11) - csv (22)
- date (22)
- fiddle (154)
-
fiddle
/ import (11) -
irb
/ context (11) -
irb
/ inspector (11) - json (11)
- openssl (418)
- optparse (22)
- pathname (385)
- rake (33)
- readline (11)
- resolv (33)
- rexml (11)
-
rexml
/ document (297) -
rubygems
/ platform (11) -
shell
/ command-processor (6) -
shell
/ filter (12) - stringio (11)
- uri (77)
-
webrick
/ httpresponse (55) -
webrick
/ httputils (11) -
webrick
/ log (66) - win32ole (132)
- zlib (22)
クラス
-
ARGF
. class (33) - Array (22)
- BigDecimal (66)
-
CSV
:: Table (22) - Complex (11)
- DateTime (22)
-
Enumerator
:: Lazy (20) - FalseClass (22)
-
Fiddle
:: Pointer (132) - File (11)
- Float (22)
-
Gem
:: Platform (11) - Hash (42)
- IO (11)
-
IRB
:: Context (11) -
IRB
:: Inspector (11) - Module (33)
- NilClass (11)
- Object (36)
-
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) - OptionParser (22)
- Pathname (385)
-
REXML
:: Attribute (22) -
REXML
:: CData (33) -
REXML
:: Child (22) -
REXML
:: Comment (22) -
REXML
:: Declaration (11) -
REXML
:: DocType (11) -
REXML
:: Element (33) -
REXML
:: Elements (33) -
REXML
:: Entity (22) -
REXML
:: ExternalEntity (11) -
REXML
:: NotationDecl (11) -
REXML
:: ParseException (11) -
REXML
:: Text (33) -
Rake
:: EarlyTime (11) -
Rake
:: FileList (11) -
Rake
:: InvocationChain (11) - Range (11)
- Rational (22)
-
Resolv
:: DNS :: Name (11) -
Resolv
:: IPv4 (11) -
Resolv
:: IPv6 (11) -
Shell
:: CommandProcessor (6) -
Shell
:: Filter (12) - String (33)
- StringIO (11)
- Symbol (247)
- Thread (11)
-
Thread
:: Backtrace :: Location (22) - TrueClass (11)
-
URI
:: FTP (22) -
URI
:: Generic (33) -
URI
:: LDAP (22) -
WEBrick
:: BasicLog (66) -
WEBrick
:: HTTPResponse (55) -
WEBrick
:: HTTPUtils :: FormData (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)
オブジェクト
-
Readline
:: HISTORY (11)
キーワード
-
$ ERROR _ INFO (11) - % (11)
- +@ (11)
- -@ (11)
- << (55)
- =~ (11)
- BlockCaller (11)
- COMPAT (11)
- Closure (11)
- ExternalEntity (11)
- Location (11)
- MULTILINE (11)
- NotationDecl (11)
- ONELINE (11)
- RFC2253 (11)
- String (11)
- [] (77)
- []= (44)
- add (11)
-
add
_ delegate _ command _ to _ shell (6) -
add
_ element (11) -
add
_ namespace (22) -
avalue
_ to _ svalue (11) - bigdecimal (11)
-
bigdecimal
/ math (11) - bind (11)
- binread (11)
- binwrite (11)
- body= (11)
- build (44)
- capitalize (11)
- chunked= (11)
-
content
_ length (11) -
content
_ length= (11) - debug (11)
-
def
_ inspector (11) -
define
_ singleton _ method (22) - directory? (11)
- downcase (8)
-
each
_ entry (11) -
each
_ line (22) -
end
_ with? (5) - entities (11)
- error (11)
- exist? (11)
- export (55)
- fatal (11)
- file? (11)
- find (11)
- format (11)
- grep (11)
-
grep
_ v (9) - handler= (11)
- help (11)
- hexdigest (11)
- id2name (11)
- info (11)
- inspect (88)
- inspect? (11)
- intern (11)
- irb (11)
-
irb
/ completion (11) - lchmod (22)
- lchown (11)
- length (11)
- lstat (11)
-
make
_ link (11) -
make
_ symlink (11) - match (11)
- merge! (11)
- mkpath (11)
- modulo (11)
-
mvalue
_ to _ svalue (11) - name (70)
- new (55)
-
next
_ sibling= (11) - normalize (11)
- normalize! (11)
- open (22)
- opendir (11)
- parse (11)
- pipe? (11)
-
previous
_ sibling= (11) - print (22)
-
proc
_ to _ s (11) - profile (6)
- ptr (11)
- puts (11)
-
rb
_ mod _ to _ s (11) - read (11)
- readlines (11)
- readlink (11)
- ref (11)
- remainder (11)
- rmtree (11)
-
set
_ trace _ func (11) - setgid? (11)
- setuid? (11)
- size (11)
- size? (11)
- slice (55)
- split (11)
- sprintf (11)
-
start
_ with? (5) - stat (11)
- sticky? (11)
- string (11)
- strptime (11)
- swapcase (8)
- symlink? (11)
-
to
_ csv (11) -
to
_ digits (11) -
to
_ f (11) -
to
_ json (11) -
to
_ pem (110) -
to
_ proc (11) -
to
_ str (22) -
to
_ string (11) -
to
_ sym (22) -
transform
_ keys! (10) -
transform
_ values (16) -
transform
_ values! (16) - uniq! (22)
- upcase (8)
- value (22)
- warn (22)
-
world
_ writable? (11) - writable? (11)
-
writable
_ real? (11) - write (44)
-
yield
_ self (14) - | (6)
- メソッド呼び出し(super・ブロック付き・yield) (9)
検索結果
先頭5件
-
IRB
:: Context # inspect? -> bool (26206.0) -
IRB::Context#inspect_mode が有効かどうかを返します。
...
IRB::Context#inspect_mode が有効かどうかを返します。
@return 出力結果に to_s したものを表示する場合は false を返します。それ
以外の場合は true を返します。
@see IRB::Context#inspect_mode, IRB::Context#inspect_mode=... -
IRB
:: Inspector . def _ inspector(key , arg = nil) { |v| . . . } -> object (26206.0) -
新しい実行結果の出力方式を定義します。
...@param key conf.inspect_mode や IRB.conf[:INSPECT_MODE] に指定するキー
オブジェクトを指定します。配列を指定した場合は配列中の要素全
てが対象になります。
@param arg ブロックを指定する場合には、inspect_mode の初......{ require "foo" } といった指定を行います。
ブロックを指定しない場合には、実行結果の出力のための手続きオ
ブジェクトを指定します。
例.
# .irbrc
IRB::Inspector.def_inspector([:test]){ |v| v.to_s * 2 }
$ irb --inspect......test
irb(main):001:0> :abc # => abcabc
@see lib:irb#inspect_mode... -
Fiddle
:: Pointer # to _ s(len) -> String (24302.0) -
自身が指す領域から長さ len の文字列を複製して返します。
...自身が指す領域から長さ len の文字列を複製して返します。
len を省略した場合は、文字列の終りは '\0' であると仮定して、
strlen(3) を使って長さを算出します。
@param len 文字列の長さを整数で指定します。... -
BigDecimal
# to _ s -> String (24262.0) -
self を文字列に変換します (デフォルトは "0.xxxxxen" の形になります)。
...self を文字列に変換します (デフォルトは "0.xxxxxen" の形になります)。
@param n 出力の形式を Integer または String で指定します。
//emlist[][ruby]{
require "bigdecimal"
BigDecimal("1.23456").to_s # ==> "0.123456e1"
//}
引数 n に正の整数が指定さ......。
//emlist[][ruby]{
require "bigdecimal"
BigDecimal("0.1234567890123456789").to_s(10) # => "0.1234567890 123456789e0"
//}
引数 n に正の整数を表す文字列を指定することもできます。
//emlist[][ruby]{
require "bigdecimal"
BigDecimal("0.1234567890123456789").to_s("10") # =......付きます。負の場合は常に '-' が付きます。
//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 (24262.0) -
self を文字列に変換します (デフォルトは "0.xxxxxen" の形になります)。
...self を文字列に変換します (デフォルトは "0.xxxxxen" の形になります)。
@param n 出力の形式を Integer または String で指定します。
//emlist[][ruby]{
require "bigdecimal"
BigDecimal("1.23456").to_s # ==> "0.123456e1"
//}
引数 n に正の整数が指定さ......。
//emlist[][ruby]{
require "bigdecimal"
BigDecimal("0.1234567890123456789").to_s(10) # => "0.1234567890 123456789e0"
//}
引数 n に正の整数を表す文字列を指定することもできます。
//emlist[][ruby]{
require "bigdecimal"
BigDecimal("0.1234567890123456789").to_s("10") # =......付きます。負の場合は常に '-' が付きます。
//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"
//}
さらに文字列の最後に指... -
Rational
# to _ s -> String (24225.0) -
自身を人間が読みやすい形の文字列表現にして返します。
..."-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#inspect... -
Shell
:: Filter # to _ s -> String (24213.0) -
実行結果を文字列で返します。
...実行結果を文字列で返します。
require 'shell'
Shell.def_system_command("wc")
sh = Shell.new
sh.transact {
puts (cat("/etc/passwd") | wc("-l")).to_s
}... -
NilClass
# to _ s -> String (24207.0) -
空文字列 "" を返します。
...空文字列 "" を返します。
//emlist[例][ruby]{
nil.to_s # => ""
//}... -
REXML
:: Entity # to _ s -> String (24207.0) -
実体宣言を文字列化したものを返します。
...実体宣言を文字列化したものを返します。
@see REXML::Entity#write
//emlist[][ruby]{
e = REXML::ENTITY.new("w", "wee");
p e.to_s # => "<!ENTITY w \"wee\">"
//}... -
Rake
:: FileList # to _ s -> String (24207.0) -
全ての要素をスペースで連結した文字列を返します。
...全ての要素をスペースで連結した文字列を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
file_list = FileList['a.c', 'b.c']
file_list.to_s # => "a.c b.c"
end
//}...