2896件ヒット
[1-100件を表示]
(0.164秒)
ライブラリ
- ビルトイン (845)
- benchmark (11)
- bigdecimal (55)
-
bigdecimal
/ util (11) - csv (22)
- date (11)
- digest (22)
- fiddle (22)
-
fiddle
/ import (11) - ipaddr (33)
- json (11)
- matrix (11)
- openssl (242)
- optparse (44)
- ostruct (6)
- pathname (768)
-
racc
/ parser (11) - rake (77)
- resolv (11)
- rexml (11)
-
rexml
/ document (242) -
rubygems
/ package / tar _ header (11) -
rubygems
/ platform (11) -
rubygems
/ version (22) - scanf (12)
- set (22)
- socket (44)
- stringio (11)
- uri (33)
-
webrick
/ httpresponse (33) -
webrick
/ httputils (11) -
webrick
/ log (66) -
win32
/ registry (22) - win32ole (121)
クラス
-
ARGF
. class (33) - Addrinfo (22)
- Array (77)
- BasicObject (11)
-
Benchmark
:: Tms (11) - BigDecimal (66)
- Bignum (6)
-
CSV
:: Table (22) - Data (4)
- Date (11)
-
Digest
:: Base (22) - Encoding (22)
-
Enumerator
:: Lazy (20) - Exception (22)
- FalseClass (22)
-
Fiddle
:: Pointer (22) - Fixnum (6)
- Float (42)
-
Gem
:: Package :: TarHeader (11) -
Gem
:: Platform (11) -
Gem
:: Version (22) - Hash (88)
- IO (18)
- IPAddr (33)
- Integer (22)
- MatchData (11)
- Matrix (11)
- Method (10)
- Module (33)
- NameError (11)
- NilClass (11)
- Object (35)
-
OpenSSL
:: BN (11) -
OpenSSL
:: HMAC (33) -
OpenSSL
:: Netscape :: SPKI (22) -
OpenSSL
:: PKey :: DSA (66) -
OpenSSL
:: PKey :: RSA (66) -
OpenSSL
:: X509 :: Certificate (22) -
OpenSSL
:: X509 :: Name (11) - OpenStruct (6)
- OptionParser (22)
-
OptionParser
:: ParseError (22) - Pathname (768)
- Proc (22)
-
Process
:: Status (11) -
REXML
:: Attribute (22) -
REXML
:: CData (22) -
REXML
:: Child (22) -
REXML
:: Declaration (11) -
REXML
:: Element (66) -
REXML
:: Elements (55) -
REXML
:: ExternalEntity (11) -
REXML
:: NotationDecl (11) -
REXML
:: ParseException (11) -
REXML
:: Text (22) -
Racc
:: Parser (11) -
Rake
:: EarlyTime (11) -
Rake
:: FileList (11) -
Rake
:: InvocationChain (11) -
Rake
:: InvocationChain :: EmptyInvocationChain (11) -
Rake
:: Task (11) -
Rake
:: TaskArguments (22) - Range (22)
- Rational (22)
-
Resolv
:: DNS :: Name (11) -
Scanf
:: FormatSpecifier (6) -
Scanf
:: FormatString (6) -
Socket
:: Option (22) - String (44)
- StringIO (11)
- Symbol (130)
- Thread (36)
-
Thread
:: Backtrace :: Location (22) - TrueClass (11)
-
URI
:: Generic (33) - UnboundMethod (11)
- UncaughtThrowError (10)
-
WEBrick
:: BasicLog (66) -
WEBrick
:: HTTPResponse (33) -
WEBrick
:: HTTPUtils :: FormData (11) -
WIN32OLE
_ EVENT (11) -
WIN32OLE
_ METHOD (22) -
WIN32OLE
_ PARAM (22) -
WIN32OLE
_ TYPE (22) -
WIN32OLE
_ TYPELIB (22) -
WIN32OLE
_ VARIABLE (22) -
Win32
:: Registry (22)
モジュール
- Enumerable (22)
-
Fiddle
:: Importer (11) -
JSON
:: Generator :: GeneratorMethods :: Object (11) -
OpenSSL
:: Buffering (11)
キーワード
- % (22)
- << (33)
- [] (33)
- []= (22)
- add (11)
-
add
_ element (11) -
add
_ namespace (22) -
add
_ trace _ func (11) - atime (11)
- basename (11)
- bind (11)
- binread (11)
- binwrite (11)
- birthtime (10)
- blockdev? (11)
- body= (11)
- capitalize (11)
- chardev? (11)
- chmod (11)
- chown (11)
- chunked= (11)
- ctime (11)
- data (11)
- debug (11)
-
define
_ singleton _ method (22) - delete (11)
-
delete
_ all (11) -
delete
_ element (11) -
delete
_ namespace (11) - directory? (11)
- dirname (11)
- downcase (11)
-
each
_ entry (13) -
each
_ line (22) - empty? (8)
- error (11)
- executable? (11)
-
executable
_ real? (11) - exist? (11)
- export (44)
- extname (11)
- fatal (11)
- file? (11)
- find (22)
- fnmatch (11)
- fnmatch? (11)
- ftype (11)
- grep (11)
-
grep
_ v (9) - grpowned? (11)
- handler= (11)
- help (11)
- hex (11)
- hexdigest (22)
- hostname= (11)
- id2name (11)
- info (11)
- inspect (163)
- join (11)
- lchmod (11)
- lchown (11)
- lstat (11)
-
make
_ link (11) -
make
_ symlink (11) - match (11)
-
method
_ missing (11) - mkdir (11)
- mkpath (11)
- modulo (11)
- mtime (11)
- name (92)
- next (11)
-
next
_ float (10) -
next
_ sibling= (11) - normalize (11)
- normalize! (11)
- open (22)
- opendir (22)
- owned? (11)
- owner (11)
- pipe? (11)
-
prev
_ float (10) -
previous
_ sibling= (11) - print (11)
- read (11)
- readable? (11)
-
readable
_ real? (11) - readlines (11)
- readlink (11)
- remainder (11)
- rename (11)
- rmdir (11)
- rmtree (11)
-
set
_ trace _ func (11) - setgid? (11)
- setuid? (11)
- size (11)
- size? (11)
- slice (11)
- socket? (11)
- split (11)
-
start
_ with? (5) - stat (11)
- sticky? (11)
- succ (22)
- swapcase (11)
- symlink? (11)
- sysopen (11)
- text= (11)
- then (6)
-
to
_ csv (11) -
to
_ digits (11) -
to
_ f (11) -
to
_ h (6) -
to
_ i (11) -
to
_ json (11) -
to
_ path (11) -
to
_ pem (66) -
to
_ set (22) -
to
_ sockaddr (11) -
to
_ string (22) -
token
_ to _ str (11) -
transform
_ keys (17) -
transform
_ keys! (17) -
transform
_ values (16) -
transform
_ values! (16) - truncate (11)
- uniq (22)
- uniq! (22)
- upcase (11)
- utime (11)
- value (22)
- value= (11)
- version (11)
- warn (11)
-
world
_ readable? (11) -
world
_ writable? (11) - writable? (11)
-
writable
_ real? (11) - write (40)
-
yield
_ self (7) - zero? (11)
検索結果
先頭5件
-
MatchData
# to _ s -> String (24108.0) -
マッチした文字列全体を返します。
...マッチした文字列全体を返します。
//emlist[例][ruby]{
/bar/ =~ "foobarbaz"
p $~ # => #<MatchData:0x401b1be4>
p $~.to_s # => "bar"
//}... -
OpenSSL
:: X509 :: Name # to _ s(flags=nil) -> String (21232.0) -
DNの文字列表現を返します。
...flags には通常は以下のいずれかを渡します。
* nil
* OpenSSL::X509::Name::COMPAT
* OpenSSL::X509::Name::RFC2253
* OpenSSL::X509::Name::ONELINE
* OpenSSL::X509::Name::MULTILINE
*
例:
require 'openssl'
n = OpenSSL::X509::Name.parse('/C=JP/ST=Kanagawa/L=Yokohama/O=Examp......pany/OU=Lab3/CN=foobar/emailAddress=foobar@lab3.example.co.jp')
n.to_s
# => "/C=JP/ST=Kanagawa/L=Yokohama/O=Example Company/OU=Lab3/CN=foobar/emailAddress=foobar@lab3.example.co.jp"
n.to_s(OpenSSL::X509::Name::COMPAT)
# => "C=JP, ST=Kanagawa, L=Yokohama, O=Example Company, OU=Lab3, CN=fooba......r/emailAddress=foobar@lab3.example.co.jp"
n.to_s(OpenSSL::X509::Name::RFC2253)
# => "emailAddress=foobar@lab3.example.co.jp,CN=foobar,OU=Lab3,O=Example Company,L=Yokohama,ST=Kanagawa,C=JP"
n.to_s(OpenSSL::X509::Name::ONELINE)
# => "C = JP, ST = Kanagawa, L = Yokohama, O = Example Company, OU... -
BigDecimal
# to _ s -> String (21163.0) -
self を文字列に変換します (デフォルトは "0.xxxxxen" の形になります)。
...に変換します (デフォルトは "0.xxxxxen" の形になります)。
@param n 出力の形式を Integer または String で指定します。
//emlist[][ruby]{
require "bigdecimal"
BigDecimal("1.23456").to_s # ==> "0.123456e1"
//}
引数 n に正の整数が指定されたときは、......[ruby]{
require "bigdecimal"
BigDecimal("0.1234567890123456789").to_s(10) # => "0.1234567890 123456789e0"
//}
引数 n に正の整数を表す文字列を指定することもできます。
//emlist[][ruby]{
require "bigdecimal"
BigDecimal("0.1234567890123456789").to_s("10") # => "0.1234567890......の場合は常に '-' が付きます。
//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"
//}
さらに文字列の最後に指数形式 ('E' ま... -
BigDecimal
# to _ s(n) -> String (21163.0) -
self を文字列に変換します (デフォルトは "0.xxxxxen" の形になります)。
...に変換します (デフォルトは "0.xxxxxen" の形になります)。
@param n 出力の形式を Integer または String で指定します。
//emlist[][ruby]{
require "bigdecimal"
BigDecimal("1.23456").to_s # ==> "0.123456e1"
//}
引数 n に正の整数が指定されたときは、......[ruby]{
require "bigdecimal"
BigDecimal("0.1234567890123456789").to_s(10) # => "0.1234567890 123456789e0"
//}
引数 n に正の整数を表す文字列を指定することもできます。
//emlist[][ruby]{
require "bigdecimal"
BigDecimal("0.1234567890123456789").to_s("10") # => "0.1234567890......の場合は常に '-' が付きます。
//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"
//}
さらに文字列の最後に指数形式 ('E' ま... -
Matrix
# to _ s -> String (21132.0) -
行列を文字列化し、その文字列を返します。
...行列を文字列化し、その文字列を返します。
//emlist[例][ruby]{
require 'matrix'
a1 = [1, 2]
a2 = [3, 4.5]
m = Matrix[a1, a2]
p m.to_s # => "Matrix[[1, 2], [3, 4.5]]"
//}... -
Range
# to _ s -> String (21130.0) -
self を文字列に変換します(始端と終端のオブジェクトは #to_s メソッドで文 字列に変換されます)。
...self を文字列に変換します(始端と終端のオブジェクトは #to_s メソッドで文
字列に変換されます)。
@see Range#inspect
//emlist[例][ruby]{
(1..5).to_s # => "1..5"
("1".."5").to_s # => "1..5"
//}... -
Rational
# to _ s -> String (21126.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... -
Rake
:: FileList # to _ s -> String (21120.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
//}... -
Rake
:: InvocationChain # to _ s -> String (21120.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
//}... -
Process
:: Status # to _ s -> String (21118.0) -
to_i.to_s と同じです。
...to_i.to_s と同じです。...