1481件ヒット
[101-200件を表示]
(0.093秒)
別のキーワード
ライブラリ
- ビルトイン (366)
- bigdecimal (24)
-
cgi
/ html (24) - logger (5)
-
net
/ http (12) -
net
/ imap (12) -
net
/ smtp (12) - openssl (240)
- pathname (12)
- rake (72)
-
rubygems
/ dependency _ list (24) -
rubygems
/ indexer (12) -
rubygems
/ package / tar _ input (12) -
rubygems
/ requirement (12) -
rubygems
/ source _ index (48) -
rubygems
/ source _ info _ cache (12) -
rubygems
/ specification (432) - shell (30)
-
shell
/ command-processor (30) -
shell
/ filter (42) - stringio (12)
- strscan (12)
-
webrick
/ httpauth / basicauth (12) -
webrick
/ httpauth / digestauth (12)
クラス
- Array (108)
- BigDecimal (24)
- Float (9)
-
Gem
:: DependencyList (24) -
Gem
:: Indexer (12) -
Gem
:: Package :: TarInput (12) -
Gem
:: Requirement (12) -
Gem
:: SourceIndex (48) -
Gem
:: SourceInfoCache (12) -
Gem
:: Specification (432) - Hash (20)
- IO (12)
- Integer (12)
-
Logger
:: Application (5) - Module (24)
-
Net
:: HTTP (12) -
Net
:: IMAP (12) -
Net
:: SMTP (12) - Object (12)
-
OpenSSL
:: OCSP :: CertificateId (24) -
OpenSSL
:: PKCS7 (24) -
OpenSSL
:: SSL :: SSLContext (24) -
OpenSSL
:: X509 :: Certificate (144) -
OpenSSL
:: X509 :: ExtensionFactory (24) - Pathname (12)
-
Rake
:: Application (24) -
Rake
:: InvocationChain (24) -
Rake
:: InvocationChain :: EmptyInvocationChain (12) -
Rake
:: Task (12) - Rational (12)
- Shell (30)
-
Shell
:: CommandProcessor (30) -
Shell
:: Filter (42) - String (21)
- StringIO (12)
- StringScanner (12)
- Thread (24)
-
WEBrick
:: HTTPAuth :: BasicAuth (12) -
WEBrick
:: HTTPAuth :: DigestAuth (12)
モジュール
-
CGI
:: HtmlExtension (24) - Comparable (12)
- Enumerable (96)
- Warning (4)
キーワード
- abbreviate (12)
-
add
_ bindir (12) -
add
_ certificate (12) -
add
_ dependency (12) -
add
_ development _ dependency (12) -
add
_ extension (12) -
add
_ loader (12) -
add
_ runtime _ dependency (12) -
add
_ spec (12) - all? (45)
- any? (48)
- append (24)
- application= (12)
- authenticate (48)
-
backtrace
_ locations (24) - between? (12)
- bindir= (12)
- cert= (24)
-
cert
_ chain= (12) - certificates= (12)
-
check
_ private _ key (12) -
close
_ on _ exec= (12) - cmp (12)
-
cmp
_ issuer (12) - concat (66)
-
const
_ source _ location (12) - date= (12)
-
default
_ executable= (12) -
deprecate
_ constant (12) - description= (12)
- each (6)
- echo (18)
- email= (12)
- executable= (12)
- executables= (12)
- extensions= (24)
-
extra
_ chain _ cert= (12) -
extra
_ rdoc _ files= (12) -
fetch
_ values (20) - files= (12)
-
find
_ name (24) - form (24)
- glob (18)
- homepage= (12)
-
instance
_ variable _ defined? (12) - issuer= (12)
-
issuer
_ certificate= (12) - level= (1)
-
load
_ gemspec (12) - loaded= (12)
-
loaded
_ from= (12) - log (2)
- log= (1)
- member? (12)
- name= (12)
- none? (45)
-
not
_ after= (12) -
not
_ before= (12) - one? (45)
-
original
_ platform= (12) - platform= (12)
-
public
_ key= (12) -
remove
_ by _ name (12) -
require
_ path= (12) -
require
_ paths= (12) -
required
_ ruby _ version= (12) -
required
_ rubygems _ version= (12) - requirements= (12)
-
rubygems
_ version= (12) -
satisfies
_ requirement? (12) - search (24)
- serial= (12)
-
set
_ log (1) - sign (12)
-
signing
_ key= (12) - specification (12)
-
specification
_ version= (12) - subject= (12)
-
subject
_ certificate= (12) - summary= (12)
- tee (18)
-
test
_ files= (12) -
test
_ suite _ file= (12) - truncate (99)
-
tty
_ output= (12) - verify (12)
- version= (24)
- warn (4)
- | (6)
検索結果
先頭5件
-
Net
:: SMTP # authenticate(user , secret , authtype) -> () (6119.0) -
認証を行います。
...rt や Net::SMTP#start で認証を
行うためこれを利用する必要はないはずです。
@param user 認証で使うアカウント名
@param secret 認証で使うパスワード
@param authtype 認証の種類(:plain, :login, :cram_md5 のいずれか)
@see Net::SMTP.start, Net::SMTP#... -
Module
# const _ source _ location(name , inherited = true) -> [String , Integer] (6113.0) -
name で指定した定数の定義を含むソースコードのファイル名と行番号を配列で返します。
...指定した定数の定義を含むソースコードのファイル名と行番号を配列で返します。
@param name Symbol,String で定数の名前を指定します。
@param inherited true を指定するとスーパークラスや include したモジュールで定義された定数......_location('C4') # => ["test.rb", 12]
p B.const_source_location('C3') # => ["test.rb", 7]
p B.const_source_location('C1') # => ["test.rb", 2]
p B.const_source_location('C3', false) # => nil -- include したモジュールは検索しない
p A.const_source_locatio......p Object.const_source_location('B') # => ["test.rb", 10] -- Object はトップレベルの定数を検索する
p Object.const_source_location('A') # => ["test.rb", 1] -- クラスが再定義された場合は最初の定義位置を返す
p B.const_source_location('A') # =... -
Shell
# truncate(path , length) -> 0 (6113.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@see File.truncate... -
Shell
:: CommandProcessor # truncate(path , length) -> 0 (6113.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@see File.truncate... -
Shell
:: Filter # truncate(path , length) -> 0 (6113.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@see File.truncate... -
WEBrick
:: HTTPAuth :: BasicAuth # authenticate(request , response) -> bool (6113.0) -
クライアントから送られてきたユーザ名とパスワードを認証します。 認証に失敗した場合は challenge を呼びます。
...ザ名とパスワードを認証します。
認証に失敗した場合は challenge を呼びます。
@param request WEBrick::HTTPRequest のインスタンスを指定します。
@param response WEBrick::HTTPResponse のインスタンスを指定します。
@raise WEBrick::HTTPStatus::Una... -
WEBrick
:: HTTPAuth :: DigestAuth # authenticate(request , response) -> true (6113.0) -
クライアントから送られてきたユーザ名とパスワードを認証します。 認証に失敗した場合は challenge を呼びます。
...ザ名とパスワードを認証します。
認証に失敗した場合は challenge を呼びます。
@param request WEBrick::HTTPRequest のインスタンスを指定します。
@param response WEBrick::HTTPResponse のインスタンスを指定します。
@raise WEBrick::HTTPStatus::Una... -
Array
# concat(*other _ arrays) -> self (6108.0) -
other_arrays の要素を自身の末尾に破壊的に連結します。
...します。
@param other_arrays 自身と連結したい配列を指定します。
//emlist[例][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) #=> [1, 2, 1, 2, 1, 2]
//}
@see Array#+... -
Array
# concat(other) -> self (6108.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] # こちらは変わらない
/... -
BigDecimal
# truncate -> Integer (6107.0) -
小数点以下の数を切り捨てて整数にします。
...小数点以下の数を切り捨てて整数にします。
@param n 小数点以下の桁数を整数で指定します。
以下のように引数を与えて、小数点以下 n+1 位の数字を操作することもできます。
n が正の時は、小数点以下 n+1 位の数字を切り......ます)。
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 (6107.0) -
小数点以下の数を切り捨てて整数にします。
...小数点以下の数を切り捨てて整数にします。
@param n 小数点以下の桁数を整数で指定します。
以下のように引数を与えて、小数点以下 n+1 位の数字を操作することもできます。
n が正の時は、小数点以下 n+1 位の数字を切り......ます)。
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
//}...