4279件ヒット
[201-300件を表示]
(0.132秒)
ライブラリ
- ビルトイン (1334)
- benchmark (12)
- bigdecimal (60)
-
bigdecimal
/ util (12) - csv (48)
- date (12)
- digest (24)
- erb (12)
- fiddle (144)
-
fiddle
/ import (12) - ipaddr (36)
-
irb
/ context (60) - json (12)
- matrix (24)
- openssl (396)
- optparse (48)
- ostruct (38)
- pathname (839)
-
racc
/ parser (12) - rake (84)
- resolv (36)
- rexml (12)
-
rexml
/ document (348) -
rubygems
/ package / tar _ header (12) -
rubygems
/ platform (12) -
rubygems
/ requirement (12) -
rubygems
/ version (24) - scanf (12)
- set (28)
-
shell
/ filter (12) - socket (48)
- stringio (24)
- uri (72)
-
webrick
/ httprequest (12) -
webrick
/ httpresponse (84) -
webrick
/ httputils (12) -
webrick
/ httpversion (12) -
webrick
/ log (72) -
win32
/ registry (24) - win32ole (144)
- zlib (24)
クラス
-
ARGF
. class (36) - Addrinfo (24)
- Array (84)
- BasicObject (12)
-
Benchmark
:: Tms (12) - BigDecimal (72)
- Bignum (6)
-
CGI
:: Cookie (12) -
CSV
:: Row (24) -
CSV
:: Table (24) - Complex (12)
- Data (6)
- Date (12)
-
Digest
:: Base (24) - ERB (12)
- Encoding (24)
-
Enumerator
:: Lazy (22) - Exception (24)
- FalseClass (24)
-
Fiddle
:: Pointer (144) - Fixnum (6)
- Float (46)
-
Gem
:: Package :: TarHeader (12) -
Gem
:: Platform (12) -
Gem
:: Requirement (12) -
Gem
:: Version (24) - Hash (100)
- IO (36)
- IPAddr (36)
-
IRB
:: Context (60) - Integer (24)
- MatchData (12)
- Matrix (12)
- Method (24)
- Module (36)
- NameError (12)
- NilClass (12)
- Object (78)
-
OpenSSL
:: BN (12) -
OpenSSL
:: Config (12) -
OpenSSL
:: HMAC (36) -
OpenSSL
:: Netscape :: SPKI (24) -
OpenSSL
:: PKCS7 (24) -
OpenSSL
:: PKey :: DH (36) -
OpenSSL
:: PKey :: DSA (72) -
OpenSSL
:: PKey :: RSA (72) -
OpenSSL
:: X509 :: CRL (24) -
OpenSSL
:: X509 :: Certificate (24) -
OpenSSL
:: X509 :: Extension (12) -
OpenSSL
:: X509 :: Name (12) -
OpenSSL
:: X509 :: Request (24) - OpenStruct (38)
- OptionParser (24)
-
OptionParser
:: ParseError (24) - Pathname (839)
- Proc (24)
-
Process
:: Status (12) -
REXML
:: Attribute (24) -
REXML
:: CData (24) -
REXML
:: Child (24) -
REXML
:: Comment (24) -
REXML
:: Declaration (12) -
REXML
:: DocType (12) -
REXML
:: Element (72) -
REXML
:: Elements (60) -
REXML
:: Entity (24) -
REXML
:: ExternalEntity (12) -
REXML
:: NotationDecl (12) -
REXML
:: ParseException (12) -
REXML
:: Text (36) -
Racc
:: Parser (12) -
Rake
:: EarlyTime (12) -
Rake
:: FileList (12) -
Rake
:: InvocationChain (12) -
Rake
:: InvocationChain :: EmptyInvocationChain (12) -
Rake
:: Task (12) -
Rake
:: TaskArguments (24) - Range (24)
- Rational (24)
- Regexp (24)
-
Resolv
:: DNS :: Name (12) -
Resolv
:: IPv4 (12) -
Resolv
:: IPv6 (12) -
Scanf
:: FormatSpecifier (6) -
Scanf
:: FormatString (6) - Set (16)
-
Shell
:: Filter (12) -
Socket
:: Option (24) - String (108)
- StringIO (24)
- Struct (24)
- Symbol (305)
- Thread (40)
-
Thread
:: Backtrace :: Location (24) - Time (18)
- TrueClass (12)
-
URI
:: Generic (72) - UnboundMethod (36)
- UncaughtThrowError (11)
- Vector (12)
-
WEBrick
:: BasicLog (72) -
WEBrick
:: Cookie (12) -
WEBrick
:: HTTPRequest (12) -
WEBrick
:: HTTPResponse (84) -
WEBrick
:: HTTPUtils :: FormData (12) -
WEBrick
:: HTTPVersion (12) -
WIN32OLE
_ EVENT (12) -
WIN32OLE
_ METHOD (24) -
WIN32OLE
_ PARAM (24) -
WIN32OLE
_ TYPE (36) -
WIN32OLE
_ TYPELIB (24) -
WIN32OLE
_ VARIABLE (24) -
Win32
:: Registry (24) -
Zlib
:: GzipWriter (24)
モジュール
- Enumerable (24)
-
Fiddle
:: Importer (12) -
JSON
:: Generator :: GeneratorMethods :: Object (12) -
OpenSSL
:: Buffering (12) -
REXML
:: Node (12)
キーワード
- % (24)
- +@ (12)
- -@ (12)
- << (60)
- =~ (12)
- [] (84)
- []= (48)
-
_ _ to _ s _ _ (12) - add (12)
-
add
_ element (12) -
add
_ namespace (24) -
add
_ trace _ func (12) - atime (12)
- basename (12)
- bind (12)
- binread (12)
- binwrite (12)
- birthtime (11)
- blockdev? (12)
- body= (12)
- capitalize (12)
- chardev? (12)
- chmod (12)
- chown (12)
- chunked= (12)
-
content
_ length (12) -
content
_ length= (12) - ctime (12)
- data (12)
- debug (12)
-
define
_ singleton _ method (24) - delete (12)
-
delete
_ all (12) -
delete
_ element (12) -
delete
_ namespace (12) - directory? (12)
- dirname (12)
- downcase (12)
-
each
_ entry (15) -
each
_ line (24) - empty? (9)
-
end
_ with? (6) - entities (12)
- error (12)
- executable? (12)
-
executable
_ real? (12) - exist? (12)
- export (60)
- extname (12)
- fatal (12)
- file? (12)
- find (24)
- fnmatch (12)
- fnmatch? (12)
- ftype (12)
- grep (12)
-
grep
_ v (10) - grpowned? (12)
- handler= (12)
- help (12)
- hex (12)
- hexdigest (24)
- hostname= (12)
-
http
_ version (12) - id2name (12)
- info (12)
- inspect (271)
- inspect? (12)
-
inspect
_ mode= (12) - intern (12)
- join (12)
- lchmod (12)
- lchown (12)
- length (12)
- lstat (12)
-
make
_ link (12) -
make
_ symlink (12) - match (12)
- merge! (12)
-
method
_ missing (12) - mkdir (12)
- mkpath (12)
- modulo (12)
- mtime (12)
- name (101)
- next (12)
-
next
_ float (11) -
next
_ sibling= (12) - normalize (12)
- normalize! (12)
- oct (12)
- open (24)
- opendir (24)
- owned? (12)
- owner (12)
- pipe? (12)
-
prev
_ float (11) -
previous
_ sibling= (12) - print (12)
- ptr (12)
- read (12)
- readable? (12)
-
readable
_ real? (12) - readlines (12)
- readlink (12)
- ref (12)
- remainder (12)
- rename (12)
- rmdir (12)
- rmtree (12)
-
set
_ trace _ func (12) - setgid? (12)
- setuid? (12)
- size (24)
- size? (12)
- slice (60)
- socket? (12)
- split (12)
- src (12)
-
start
_ with? (6) - stat (12)
- sticky? (12)
- string (12)
- succ (24)
- swapcase (12)
- symlink? (12)
- sysopen (12)
- syswrite (12)
- text= (12)
- then (14)
-
to
_ csv (24) -
to
_ digits (12) -
to
_ f (12) -
to
_ h (14) -
to
_ i (12) -
to
_ json (12) -
to
_ path (12) -
to
_ pem (120) -
to
_ proc (12) -
to
_ set (24) -
to
_ sockaddr (12) -
to
_ str (48) -
to
_ string (24) -
to
_ sym (24) -
token
_ to _ str (12) -
transform
_ keys (20) -
transform
_ keys! (20) -
transform
_ values (18) -
transform
_ values! (18) - truncate (12)
- uniq (24)
- uniq! (24)
- upcase (12)
- userinfo= (12)
- utime (12)
- value (24)
- value= (12)
- version (12)
- warn (12)
-
world
_ readable? (12) -
world
_ writable? (12) - writable? (12)
-
writable
_ real? (12) - write (72)
-
yield
_ self (16) - zero? (12)
- | (6)
検索結果
先頭5件
-
NameError
# to _ s -> String (18108.0) -
例外オブジェクトを文字列に変換して返します。
...オブジェクトを文字列に変換して返します。
例:
begin
foobar
rescue NameError => err
p err # => #<NameError: undefined local variable or method `foobar' for main:Object>
p err.to_s # => "undefined local variable or method `foobar' for main:Object"
end... -
NilClass
# to _ s -> String (18108.0) -
空文字列 "" を返します。
...空文字列 "" を返します。
//emlist[例][ruby]{
nil.to_s # => ""
//}... -
Object
# to _ s -> String (18108.0) -
オブジェクトの文字列表現を返します。
...使って文字列に変換し
ます。
//emlist[][ruby]{
class Foo
def initialize num
@num = num
end
end
it = Foo.new(40)
puts it #=> #<Foo:0x2b69110>
class Foo
def to_s
"Class:Foo Number:#{@num}"
end
end
puts it #=> Class:Foo Number:40
//}
@see Object#to_str,Kernel.#String... -
REXML
:: CData # to _ s -> String (18108.0) -
テキスト文字列を返します。
...テキスト文字列を返します。
@see REXML::Text#value, REXML::Text#to_s
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<root><![CDATA[foobar baz]]></root>
EOS
doc.root[0].class # => REXML::CData
doc.root[0].value # => "foobar baz"
//}... -
REXML
:: Entity # to _ s -> String (18108.0) -
実体宣言を文字列化したものを返します。
...実体宣言を文字列化したものを返します。
@see REXML::Entity#write
//emlist[][ruby]{
e = REXML::ENTITY.new("w", "wee");
p e.to_s # => "<!ENTITY w \"wee\">"
//}... -
REXML
:: Text # to _ s -> String (18108.0) -
テキストの内容を正規化(すべての実体をエスケープ)された状態で返します。
...トとして妥当です。
結果は REXML::Text.new で指定した entity_filter を反映しています。
@see REXML::Text#value
//emlist[][ruby]{
require 'rexml/document'
t = REXML::Text.new("< & foobar", false, nil, false)
t.to_s # => "< & foobar"
t.value # => "< & foobar"
//}... -
Rake
:: FileList # to _ s -> String (18108.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 (18108.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
//}... -
Shell
:: Filter # to _ s -> String (18108.0) -
実行結果を文字列で返します。
...実行結果を文字列で返します。
require 'shell'
Shell.def_system_command("wc")
sh = Shell.new
sh.transact {
puts (cat("/etc/passwd") | wc("-l")).to_s
}... -
Thread
:: Backtrace :: Location # to _ s -> String (18108.0) -
self が表すフレームを Kernel.#caller と同じ表現にした文字列を返し ます。
...mlist[例][ruby]{
# foo.rb
class Foo
attr_accessor :locations
def initialize(skip)
@locations = caller_locations(skip)
end
end
Foo.new(0..2).locations.map do |call|
puts call.to_s
end
# => path/to/foo.rb:5:in `initialize'
# path/to/foo.rb:9:in `new'
# path/to/foo.rb:9:in `<main>'
//}...