3289件ヒット
[201-300件を表示]
(0.179秒)
ライブラリ
- ビルトイン (587)
- bigdecimal (22)
-
cgi
/ html (22) - csv (11)
- logger (7)
-
minitest
/ unit (1) -
net
/ http (33) -
net
/ imap (11) -
net
/ smtp (11) - openssl (550)
- pathname (11)
- rake (209)
-
rake
/ gempackagetask (11) -
rdoc
/ context (11) - rss (264)
-
rubygems
/ dependency _ list (33) -
rubygems
/ format (11) -
rubygems
/ gem _ path _ searcher (33) -
rubygems
/ indexer (22) -
rubygems
/ installer (22) -
rubygems
/ old _ format (11) -
rubygems
/ package / tar _ input (22) -
rubygems
/ requirement (11) -
rubygems
/ source _ index (55) -
rubygems
/ source _ info _ cache (11) -
rubygems
/ specification (1067) -
rubygems
/ uninstaller (11) - shell (24)
-
shell
/ builtin-command (12) -
shell
/ command-processor (36) -
shell
/ filter (48) - stringio (11)
- strscan (11)
-
webrick
/ httpauth / authenticator (33) -
webrick
/ httpauth / basicauth (11) -
webrick
/ httpauth / digestauth (11) -
webrick
/ https (22)
クラス
-
ARGF
. class (11) - Array (82)
- BigDecimal (22)
- Binding (6)
- CSV (11)
- Encoding (11)
-
Enumerator
:: Lazy (22) - Exception (11)
- File (11)
- Float (11)
-
Gem
:: DependencyList (33) -
Gem
:: Format (11) -
Gem
:: GemPathSearcher (33) -
Gem
:: Indexer (22) -
Gem
:: Installer (22) -
Gem
:: OldFormat (11) -
Gem
:: Package :: TarInput (22) -
Gem
:: Requirement (11) -
Gem
:: SourceIndex (55) -
Gem
:: SourceInfoCache (11) -
Gem
:: Specification (1067) -
Gem
:: Uninstaller (11) - IO (11)
- Integer (11)
-
Logger
:: Application (7) - Method (11)
-
MiniTest
:: Unit (1) - Module (14)
-
Net
:: HTTP (33) -
Net
:: IMAP (11) -
Net
:: SMTP (11) - Numeric (11)
- Object (11)
-
OpenSSL
:: OCSP :: BasicResponse (11) -
OpenSSL
:: OCSP :: CertificateId (33) -
OpenSSL
:: OCSP :: Request (11) -
OpenSSL
:: PKCS12 (22) -
OpenSSL
:: PKCS7 (33) -
OpenSSL
:: SSL :: SSLContext (55) -
OpenSSL
:: SSL :: SSLSocket (33) -
OpenSSL
:: X509 :: Certificate (275) -
OpenSSL
:: X509 :: ExtensionFactory (44) -
OpenSSL
:: X509 :: Store (11) -
OpenSSL
:: X509 :: StoreContext (22) - Pathname (11)
- Proc (11)
-
RDoc
:: Context (11) -
RSS
:: Maker :: ChannelBase (11) -
RSS
:: Maker :: ChannelBase :: CategoriesBase (11) -
RSS
:: Maker :: ChannelBase :: CategoriesBase :: CategoryBase (44) -
RSS
:: Maker :: ItemsBase :: ItemBase (11) -
RSS
:: Maker :: RSS20 :: Items :: Item :: Categories (11) -
RSS
:: Rss :: Channel (33) -
RSS
:: Rss :: Channel :: Item (33) -
RSS
:: Rss :: Channel :: Item :: Category (44) -
Rake
:: Application (121) -
Rake
:: GemPackageTask (11) -
Rake
:: InvocationChain (33) -
Rake
:: InvocationChain :: EmptyInvocationChain (33) -
Rake
:: Task (22) - Rational (11)
- Shell (24)
-
Shell
:: Cat (6) -
Shell
:: CommandProcessor (36) -
Shell
:: Concat (6) -
Shell
:: Filter (48) - String (19)
- StringIO (11)
- StringScanner (11)
- Thread (22)
-
Thread
:: Backtrace :: Location (77) - UnboundMethod (11)
-
WEBrick
:: HTTPAuth :: BasicAuth (11) -
WEBrick
:: HTTPAuth :: DigestAuth (11) -
WEBrick
:: HTTPRequest (22)
モジュール
-
CGI
:: HtmlExtension (22) - Comparable (11)
- Enumerable (188)
-
RSS
:: SyndicationModel (66) -
WEBrick
:: HTTPAuth :: Authenticator (33) - Warning (3)
キーワード
-
_ dump (11) - abbreviate (11)
-
absolute
_ path (11) -
add
_ bindir (11) -
add
_ certificate (11) -
add
_ dependency (11) -
add
_ development _ dependency (11) -
add
_ extension (11) -
add
_ loader (11) -
add
_ runtime _ dependency (11) -
add
_ spec (11) - all? (27)
- any? (42)
- append (22)
- application (11)
- application= (11)
- appname (1)
-
assign
_ defaults (11) - authenticate (44)
- autorequire (11)
- autorequire= (11)
-
backtrace
_ locations (33) -
base
_ label (11) - between? (11)
- bindir (11)
- bindir= (11)
-
ca
_ certs (11) - categories (33)
- category (22)
- category= (22)
- cert (33)
- cert= (22)
-
cert
_ chain (11) -
cert
_ chain= (11) - certid (11)
- certificate (11)
- certificates (11)
- certificates= (11)
- chain (22)
-
check
_ private _ key (11) -
client
_ ca (11) -
client
_ cert (11) -
close
_ on _ exec= (11) - cmp (11)
-
cmp
_ issuer (11) - collect (22)
-
collect
_ concat (33) - concat (78)
-
const
_ source _ location (5) - content (22)
- content= (22)
-
current
_ cert (11) - date (11)
- date= (11)
-
default
_ executable (11) -
default
_ executable= (11) - dependencies (11)
-
dependency
_ order (11) -
dependent
_ gems (11) -
deprecate
_ constant (9) - description (11)
- description= (11)
-
development
_ dependencies (11) - domain (22)
- domain= (22)
- each (18)
- echo (18)
- email (11)
- email= (11)
- enclosure (11)
- executable (11)
- executable= (11)
- executables (11)
- executables= (11)
- extensions (22)
- extensions= (22)
-
extra
_ chain _ cert (11) -
extra
_ chain _ cert= (11) -
extra
_ rdoc _ files (11) -
extra
_ rdoc _ files= (11) -
file
_ name (11) - files (11)
- files= (11)
- find (11)
-
find
_ all (11) -
find
_ name (22) -
flat
_ map (33) - form (22)
-
full
_ gem _ path (11) -
full
_ name (11) -
gem
_ spec (11) - glob (18)
-
has
_ rdoc (11) -
has
_ rdoc= (11) -
has
_ rdoc? (11) -
has
_ test _ suite? (11) -
has
_ unit _ tests? (11) - homepage (11)
- homepage= (11)
- init (11)
-
init
_ gemspecs (11) -
inplace
_ mode (11) - inspect (11)
- install (11)
-
installation
_ path (11) -
instance
_ variable _ defined? (11) - issuer (11)
- issuer= (11)
-
issuer
_ certificate (11) -
issuer
_ certificate= (11) - label (11)
- level= (1)
-
lib
_ files (11) - lineno (11)
-
load
_ gemspec (11) -
load
_ rakefile (11) - loaded= (11)
- loaded? (11)
-
loaded
_ from (11) -
loaded
_ from= (11) - location (1)
- log (2)
- log= (1)
- logger (11)
- map (22)
-
mark
_ version (11) - member? (22)
- name (22)
- name= (11)
-
new
_ category (22) - none? (47)
- normalize (11)
-
not
_ after (11) -
not
_ after= (11) -
not
_ before (11) -
not
_ before= (11) - one? (47)
-
original
_ dir (11) -
original
_ name (11) -
original
_ platform (11) -
original
_ platform= (11) - path (11)
-
peer
_ cert (22) -
peer
_ cert _ chain (11) - platform (11)
- platform= (11)
-
public
_ key (11) -
public
_ key= (11) - rakefile (11)
- realm (11)
-
record
_ location (11) -
remove
_ by _ name (11) -
remove
_ spec (11) - replicate (11)
-
require
_ path (11) -
require
_ path= (11) -
require
_ paths (11) -
require
_ paths= (11) -
required
_ ruby _ version (11) -
required
_ ruby _ version= (11) -
required
_ rubygems _ version (11) -
required
_ rubygems _ version= (11) - requirements (11)
- requirements= (11)
-
rubygems
_ version (11) -
rubygems
_ version= (11) - run (11)
-
runtime
_ dependencies (11) - sanitize (11)
-
satisfies
_ requirement? (11) - search (22)
- serial (22)
- serial= (11)
-
server
_ cert (11) -
set
_ log (1) - sign (11)
-
signature
_ algorithm (11) -
signing
_ key (11) -
signing
_ key= (11) -
source
_ location (39) - spec (44)
- specification (11)
-
specification
_ version (11) -
specification
_ version= (11) - start (1)
- status (11)
- subject (11)
- subject= (11)
-
subject
_ certificate (11) -
subject
_ certificate= (11) - summary (11)
- summary= (11)
-
sy
_ updateBase (11) -
sy
_ updateBase= (11) -
sy
_ updateFrequency (11) -
sy
_ updateFrequency= (11) -
sy
_ updatePeriod (11) -
sy
_ updatePeriod= (11) - tee (6)
-
test
_ file (11) -
test
_ file= (11) -
test
_ files (11) -
test
_ files= (11) -
test
_ suite _ file (11) -
test
_ suite _ file= (11) -
to
_ a (6) -
to
_ der (11) -
to
_ pem (11) -
to
_ ruby (11) -
to
_ s (50) -
to
_ text (11) -
top
_ level (11) -
top
_ level _ tasks (11) - truncate (128)
-
tty
_ output= (11) - userdb (11)
- validate (11)
- verify (11)
- version (22)
- version= (22)
- warn (3)
-
yaml
_ initialize (11) - | (6)
検索結果
先頭5件
-
Thread
# backtrace _ locations(range) -> [Thread :: Backtrace :: Location] | nil (12301.0) -
スレッドの現在のバックトレースを Thread::Backtrace::Location の配 列で返します。
...スを Thread::Backtrace::Location の配
列で返します。
引数で指定した値が範囲外の場合、スレッドがすでに終了している場合は nil
を返します。
@param start 開始フレームの位置を数値で指定します。
@param length 取得するフレーム......ange 取得したいフレームの範囲を示す Range オブジェクトを指定します。
Kernel.#caller_locations と似ていますが、本メソッドは self に限定
した情報を返します。
//emlist[例][ruby]{
thread = Thread.new { sleep 1 }
thread.run
thread.backtrace_locati......ons # => ["/path/to/test.rb:1:in `sleep'", "/path/to/test.rb:1:in `block in <main>'"]
//}
@see Thread::Backtrace::Location... -
Thread
# backtrace _ locations(start = 0 , length = nil) -> [Thread :: Backtrace :: Location] | nil (12301.0) -
スレッドの現在のバックトレースを Thread::Backtrace::Location の配 列で返します。
...スを Thread::Backtrace::Location の配
列で返します。
引数で指定した値が範囲外の場合、スレッドがすでに終了している場合は nil
を返します。
@param start 開始フレームの位置を数値で指定します。
@param length 取得するフレーム......ange 取得したいフレームの範囲を示す Range オブジェクトを指定します。
Kernel.#caller_locations と似ていますが、本メソッドは self に限定
した情報を返します。
//emlist[例][ruby]{
thread = Thread.new { sleep 1 }
thread.run
thread.backtrace_locati......ons # => ["/path/to/test.rb:1:in `sleep'", "/path/to/test.rb:1:in `block in <main>'"]
//}
@see Thread::Backtrace::Location... -
BigDecimal
# truncate -> Integer (12250.0) -
小数点以下の数を切り捨てて整数にします。
...am n 小数点以下の桁数を整数で指定します。
以下のように引数を与えて、小数点以下 n+1 位の数字を操作することもできます。
n が正の時は、小数点以下 n+1 位の数字を切り捨てます
(小数点以下を、最大 n 桁にします)。
n......が負のときは小数点以上 n 桁目を操作します
(小数点位置から左に少なくとも n 個の 0 が並びます)。
//emlist[][ruby]{
require "bigdecimal"
BigDecimal("1.23456").truncate(4).to_f # => 1.2345
BigDecimal("15.23456").truncate(-1).to_f # => 10.0
//}... -
BigDecimal
# truncate(n) -> BigDecimal (12250.0) -
小数点以下の数を切り捨てて整数にします。
...am n 小数点以下の桁数を整数で指定します。
以下のように引数を与えて、小数点以下 n+1 位の数字を操作することもできます。
n が正の時は、小数点以下 n+1 位の数字を切り捨てます
(小数点以下を、最大 n 桁にします)。
n......が負のときは小数点以上 n 桁目を操作します
(小数点位置から左に少なくとも n 個の 0 が並びます)。
//emlist[][ruby]{
require "bigdecimal"
BigDecimal("1.23456").truncate(4).to_f # => 1.2345
BigDecimal("15.23456").truncate(-1).to_f # => 10.0
//}... -
Integer
# truncate(ndigits = 0) -> Integer | Float (12213.0) -
0 から self までの整数で、自身にもっとも近い整数を返します。
...。
@param ndigits 10進数での小数点以下の有効桁数を整数で指定します。
正の整数を指定した場合、Float を返します。
小数点以下を、最大 n 桁にします。
負の整数を指定した場合、Integer を返......します。
小数点位置から左に少なくとも n 個の 0 が並びます。
//emlist[][ruby]{
1.truncate # => 1
1.truncate(2) # => 1.0
18.truncate(-1) # => 10
(-18).truncate(-1) # => -10
//}
@see Numeric#truncate... -
Integer
# truncate(ndigits = 0) -> Integer (12207.0) -
0 から self までの整数で、自身にもっとも近い整数を返します。
...aram ndigits 10進数での小数点以下の有効桁数を整数で指定します。
負の整数を指定した場合、小数点位置から左に少なくとも n 個の 0 が並びます。
//emlist[][ruby]{
1.truncate # => 1
1.truncate(2) # => 1
18.truncate(-......1) # => 10
(-18).truncate(-1) # => -10
//}
@see Numeric#truncate... -
Array
# concat(*other _ arrays) -> self (12201.0) -
other_arrays の要素を自身の末尾に破壊的に連結します。
...][ruby]{
[ "a", "b" ].concat( ["c", "d"] ) #=> [ "a", "b", "c", "d" ]
[ "a" ].concat( ["b"], ["c", "d"] ) #=> [ "a", "b", "c", "d" ]
[ "a" ].concat #=> [ "a" ]
a = [ 1, 2, 3 ]
a.concat( [ 4, 5 ] )
a #=> [ 1, 2, 3, 4, 5 ]
a = [ 1, 2 ]
a.concat(a, a)... -
Array
# concat(other) -> self (12201.0) -
配列 other を自身の末尾に破壊的に連結します。
...other を自身の末尾に破壊的に連結します。
@param other 自身と連結したい配列を指定します。
//emlist[例][ruby]{
array = [1, 2]
a = [3, 4]
array.concat a
p array # => [1, 2, 3, 4]
p a # => [3, 4] # こちらは変わらない
//}......列 other を自身の末尾に破壊的に連結します。
@param other 自身と連結したい配列を指定します。
//emlist[例][ruby]{
array = [1, 2]
a = [3, 4]
array.concat a
p array # => [1, 2, 3, 4]
p a # => [3, 4] # こちらは変わらない
//}... -
Binding
# source _ location -> [String , Integer] (12201.0) -
self の Ruby のソースファイル名と行番号を返します。
...self の Ruby のソースファイル名と行番号を返します。
d:spec/variables#pseudo の __FILE__ と __LINE__ も参照してください。
//emlist[例][ruby]{
p binding.source_location # => ["test.rb", 1]
//}... -
CSV
# truncate(path , length) -> 0 (12201.0) -
File#truncate に委譲します。
...File#truncate に委譲します。
@see File#truncate... -
Enumerable
# collect _ concat -> Enumerator (12201.0) -
各要素をブロックに渡し、その返り値を連結した配列を返します。
...ックに渡し、その返り値を連結した配列を返します。
ブロックの返り値は基本的に配列を返すべきです。
ブロックを省略した場合は Enumerator を返します。
//emlist[例][ruby]{
[[1,2], [3,4]].flat_map{|i| i.map{|j| j*2}} # => [2,4,6,8]
//}... -
Enumerable
# collect _ concat {| obj | block } -> Array (12201.0) -
各要素をブロックに渡し、その返り値を連結した配列を返します。
...ックに渡し、その返り値を連結した配列を返します。
ブロックの返り値は基本的に配列を返すべきです。
ブロックを省略した場合は Enumerator を返します。
//emlist[例][ruby]{
[[1,2], [3,4]].flat_map{|i| i.map{|j| j*2}} # => [2,4,6,8]
//}...