1324件ヒット
[1-100件を表示]
(0.091秒)
ライブラリ
- ビルトイン (221)
- date (12)
-
fiddle
/ import (12) - json (12)
- matrix (12)
- openssl (24)
- pathname (839)
- rake (24)
-
rexml
/ document (96) -
rubygems
/ platform (12) - scanf (12)
- socket (24)
-
webrick
/ httputils (12) -
webrick
/ log (12)
クラス
- Array (2)
- Data (6)
- Date (12)
-
Enumerator
:: Lazy (22) - Float (46)
-
Gem
:: Platform (12) - Hash (34)
- MatchData (12)
- Matrix (12)
- Object (15)
-
OpenSSL
:: X509 :: Certificate (24) - Pathname (839)
-
Process
:: Status (12) -
REXML
:: Attribute (24) -
REXML
:: CData (24) -
REXML
:: Declaration (12) -
REXML
:: Element (12) -
REXML
:: Elements (12) -
REXML
:: NotationDecl (12) -
Rake
:: InvocationChain (12) -
Rake
:: InvocationChain :: EmptyInvocationChain (12) - Rational (24)
-
Scanf
:: FormatSpecifier (6) -
Scanf
:: FormatString (6) -
Socket
:: Option (24) - String (12)
- Symbol (12)
-
Thread
:: Backtrace :: Location (24) -
WEBrick
:: BasicLog (12) -
WEBrick
:: HTTPUtils :: FormData (12)
モジュール
キーワード
-
add
_ element (12) - atime (12)
- basename (12)
- bind (12)
- binread (12)
- binwrite (12)
- birthtime (11)
- blockdev? (12)
- chardev? (12)
- chmod (12)
- chown (12)
- ctime (12)
- data (12)
-
delete
_ all (12) - directory? (12)
- dirname (12)
-
each
_ entry (15) -
each
_ line (24) - empty? (9)
- executable? (12)
-
executable
_ real? (12) - exist? (12)
- extname (12)
- fatal (12)
-
fetch
_ values (2) - file? (12)
- find (24)
- fnmatch (12)
- fnmatch? (12)
- ftype (12)
- grep (12)
-
grep
_ v (10) - grpowned? (12)
- inspect (39)
- lchmod (12)
- lchown (12)
- lstat (12)
-
make
_ link (12) -
make
_ symlink (12) - match (12)
- mkdir (12)
- mkpath (12)
- mtime (12)
-
next
_ float (11) - open (24)
- opendir (24)
- owned? (12)
- pipe? (12)
-
prev
_ float (11) - read (12)
- readable? (12)
-
readable
_ real? (12) - readlines (12)
- readlink (12)
- rename (12)
- rmdir (12)
- rmtree (12)
- setgid? (12)
- setuid? (12)
- size (12)
- size? (12)
- socket? (12)
- split (12)
- stat (12)
- sticky? (12)
- symlink? (12)
- sysopen (12)
- then (7)
-
to
_ f (12) -
to
_ json (12) -
to
_ path (12) -
to
_ pem (12) -
to
_ string (12) -
transform
_ keys (8) -
transform
_ keys! (8) -
transform
_ values (9) -
transform
_ values! (9) - truncate (12)
- utime (12)
- value (12)
-
world
_ readable? (12) -
world
_ writable? (12) - writable? (12)
-
writable
_ real? (12) - write (12)
-
yield
_ self (8) - zero? (12)
検索結果
先頭5件
-
MatchData
# to _ s -> String (24108.0) -
マッチした文字列全体を返します。
...マッチした文字列全体を返します。
//emlist[例][ruby]{
/bar/ =~ "foobarbaz"
p $~ # => #<MatchData:0x401b1be4>
p $~.to_s # => "bar"
//}... -
Rake
:: InvocationChain :: EmptyInvocationChain # to _ s -> String (24102.0) -
'TOP' という文字列を返します。
'TOP' という文字列を返します。 -
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... -
Process
:: Status # to _ s -> String (21118.0) -
to_i.to_s と同じです。
...to_i.to_s と同じです。... -
Matrix
# to _ s -> String (21108.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]]"
//}... -
REXML
:: CData # to _ s -> String (21108.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"
//}... -
Rake
:: InvocationChain # to _ s -> String (21108.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
//}... -
Thread
:: Backtrace :: Location # to _ s -> String (21108.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>'
//}... -
Date
# to _ s -> String (21102.0) -
8601 書式の文字列を返します (拡大表記 ('%Y-%m-%d') を使います)。
8601 書式の文字列を返します (拡大表記 ('%Y-%m-%d') を使います)。