ライブラリ
- ビルトイン (266)
- bigdecimal (5)
-
cgi
/ core (3) -
cgi
/ html (4) -
cgi
/ session (6) -
cgi
/ session / pstore (1) - date (3)
- dbm (2)
- delegate (4)
-
drb
/ extserv (1) - erb (2)
- fiddle (4)
-
fiddle
/ import (4) - gdbm (1)
- getoptlong (4)
- ipaddr (1)
-
irb
/ cmd / help (1) -
irb
/ context (2) -
irb
/ extend-command (1) -
irb
/ inspector (1) - json (4)
-
json
/ add / ostruct (1) -
json
/ add / struct (1) - kconv (5)
- matrix (37)
- mkmf (3)
- monitor (2)
-
net
/ http (2) -
net
/ imap (2) -
net
/ smtp (2) - openssl (31)
- optparse (4)
- ostruct (5)
- pathname (15)
- prime (20)
- pstore (5)
- psych (5)
- rake (6)
-
rdoc
/ markup (3) -
rdoc
/ markup / formatter (1) -
rdoc
/ parser / ruby (1) -
rdoc
/ top _ level (6) - resolv (1)
-
rexml
/ document (14) -
rexml
/ parsers / pullparser (1) -
ripper
/ filter (1) - rss (11)
-
rubygems
/ commands / update _ command (1) -
rubygems
/ dependency _ list (1) -
rubygems
/ installer (1) -
rubygems
/ requirement (1) -
rubygems
/ source _ index (1) -
rubygems
/ specification (3) -
rubygems
/ validator (1) - sdbm (2)
- set (2)
- socket (3)
- stringio (9)
- tsort (3)
- un (1)
- uri (13)
-
webrick
/ httpauth / authenticator (3) -
webrick
/ httprequest (1) -
webrick
/ httpresponse (1) -
webrick
/ httputils (3) -
webrick
/ log (1) -
webrick
/ server (1) -
win32
/ registry (4) - win32ole (1)
-
yaml
/ dbm (1) - zlib (5)
クラス
-
ARGF
. class (13) - Array (34)
- BigDecimal (5)
- Bignum (3)
-
CGI
:: Session :: FileStore (1) -
CGI
:: Session :: MemoryStore (1) -
CGI
:: Session :: NullStore (4) -
CGI
:: Session :: PStore (1) - Complex (1)
- DBM (2)
-
DRb
:: ExtServ (1) - Date (3)
- Delegator (4)
- Dir (1)
- ERB (2)
-
Encoding
:: Converter (3) - Enumerator (15)
-
Enumerator
:: Lazy (30) -
Enumerator
:: Yielder (2) -
Fiddle
:: CStruct (2) -
Fiddle
:: Closure (1) -
Fiddle
:: Function (2) -
Fiddle
:: Pointer (1) - Fixnum (2)
- Float (2)
- GDBM (1)
-
Gem
:: Commands :: UpdateCommand (1) -
Gem
:: DependencyList (1) -
Gem
:: Installer (1) -
Gem
:: Requirement (1) -
Gem
:: SourceIndex (1) -
Gem
:: Specification (3) -
Gem
:: Validator (1) - GetoptLong (4)
- Hash (16)
- IO (15)
- IPAddr (1)
-
IRB
:: Context (2) -
IRB
:: ExtendCommand :: Help (1) -
IRB
:: Inspector (1) - Integer (5)
-
JSON
:: State (2) - MatchData (2)
- Matrix (17)
-
Matrix
:: EigenvalueDecomposition (7) -
Matrix
:: LUPDecomposition (3) - Module (11)
-
MonitorMixin
:: ConditionVariable (2) -
Net
:: HTTPGenericRequest (2) -
Net
:: IMAP (2) -
Net
:: SMTP (2) - Numeric (11)
- Object (8)
-
OpenSSL
:: BN (1) -
OpenSSL
:: OCSP :: Request (2) -
OpenSSL
:: PKey :: EC :: Group (6) -
OpenSSL
:: X509 :: Attribute (1) -
OpenSSL
:: X509 :: ExtensionFactory (8) -
OpenSSL
:: X509 :: Request (4) -
OpenSSL
:: X509 :: Store (3) -
OpenSSL
:: X509 :: StoreContext (5) - OpenStruct (6)
- OptionParser (3)
- PStore (4)
-
PStore
:: DummyMutex (1) - Pathname (15)
- Prime (4)
-
Prime
:: EratosthenesGenerator (1) -
Prime
:: Generator23 (1) -
Prime
:: PseudoPrimeGenerator (13) -
Prime
:: TrialDivisionGenerator (1) - Proc (1)
-
Process
:: Status (7) -
Psych
:: Nodes :: Node (3) -
Psych
:: Visitors :: YAMLTree (2) -
RDoc
:: Markup (3) -
RDoc
:: Markup :: Formatter (1) -
RDoc
:: Parser :: Ruby (1) -
RDoc
:: TopLevel (6) -
REXML
:: Attribute (2) -
REXML
:: Attributes (1) -
REXML
:: CData (1) -
REXML
:: Child (1) -
REXML
:: Element (2) -
REXML
:: Entity (1) -
REXML
:: Parent (4) -
REXML
:: Parsers :: PullParser (1) -
REXML
:: Text (2) -
RSS
:: Rss :: Channel :: Cloud (2) -
RSS
:: TaxonomyTopicModel :: TaxonomyTopic (2) -
RSS
:: TaxonomyTopicsModel :: TaxonomyTopics (1) -
Rake
:: DefaultLoader (1) -
Rake
:: TaskArguments (4) - Range (3)
- Rational (3)
-
Resolv
:: DNS :: Resource :: IN :: WKS (1) -
Ripper
:: Filter (1) -
RubyVM
:: InstructionSequence (2) - SDBM (2)
- StopIteration (1)
- String (14)
- StringIO (9)
- Struct (9)
- Symbol (3)
- Thread (2)
-
Thread
:: Backtrace :: Location (1) -
Thread
:: Queue (1) - ThreadGroup (1)
- Time (3)
- TrueClass (1)
- UDPSocket (3)
-
URI
:: Generic (7) -
URI
:: MailTo (6) - UnboundMethod (3)
- UncaughtThrowError (1)
- Vector (10)
-
WEBrick
:: BasicLog (1) -
WEBrick
:: GenericServer (1) -
WEBrick
:: HTTPRequest (1) -
WEBrick
:: HTTPResponse (1) -
WEBrick
:: HTTPUtils :: FormData (3) - WIN32OLE (1)
-
Win32
:: Registry (4) -
YAML
:: DBM (1) -
Zlib
:: GzipReader (3) -
Zlib
:: GzipWriter (1) -
Zlib
:: ZStream (1)
モジュール
-
CGI
:: HtmlExtension (4) -
CGI
:: QueryExtension (1) -
CGI
:: QueryExtension :: Value (2) - DublinCoreModel (6)
- Enumerable (44)
-
Fiddle
:: Importer (2) -
IRB
:: ExtendCommandBundle (1) -
JSON
:: Generator :: GeneratorMethods :: String (1) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (1) - Kernel (4)
-
OpenSSL
:: Buffering (1) -
OptionParser
:: Arguable (1) -
Rake
:: TaskManager (1) - TSort (3)
-
WEBrick
:: HTTPAuth :: Authenticator (3)
キーワード
- % (1)
- & (1)
- << (1)
- == (1)
- >> (1)
- [] (1)
- []= (1)
- about (1)
- about= (1)
-
absolute
_ path (1) -
add
_ class _ or _ module (1) -
add
_ html (1) -
add
_ namespace (2) -
add
_ special (1) -
add
_ tag (1) -
add
_ trace _ func (1) -
add
_ word _ pair (1) - ancestors (1)
- ascend (1)
-
auto
_ indent _ mode (1) -
auto
_ indent _ mode= (1) - autoload (1)
- autoload? (1)
- autorequire (1)
- autorequire= (1)
- bind (1)
-
body
_ stream (1) -
body
_ stream= (1) - bsearch (2)
-
bsearch
_ index (1) -
buffer
_ initial _ length= (1) - bytes (3)
- call (1)
- captures (1)
- casecmp (1)
- chars (3)
-
check
_ signedness (2) - children (1)
- chown (1)
- chunk (3)
-
chunk
_ while (1) - chunked= (1)
- cleanup (1)
- clone (1)
- close (2)
- codepoints (3)
- coerce (1)
- cofactor (2)
-
cofactor
_ expansion (1) - collect (5)
- collect! (1)
- collect2 (1)
-
collect
_ concat (2) - column (1)
-
column
_ vectors (1) - combination (1)
-
create
_ ext (1) -
create
_ extension (1) -
create
_ makefile (1) -
create
_ rule (1) -
cross
_ product (1) -
current
_ cert (1) -
current
_ crl (1) - cycle (2)
-
dc
_ contributor (1) -
dc
_ contributor= (1) -
dc
_ contributors (1) -
dc
_ creator (1) -
dc
_ creator= (1) -
dc
_ creators (1) - debug (1)
-
default
_ proc= (1) - delete (1)
-
delete
_ if (3) - denominator (1)
- descend (1)
- detect (1)
- downto (2)
- drop (1)
-
drop
_ while (3) - each (25)
- each2 (1)
-
each
_ byte (5) -
each
_ char (4) -
each
_ child (3) -
each
_ codepoint (4) -
each
_ cons (1) -
each
_ entry (1) -
each
_ index (2) -
each
_ key (1) -
each
_ line (9) -
each
_ pair (4) -
each
_ slice (1) -
each
_ strongly _ connected _ component (1) -
each
_ strongly _ connected _ component _ from (1) -
each
_ value (1) -
each
_ with _ index (4) -
each
_ with _ object (1) - eigen (1)
- eigensystem (1)
-
eigenvector
_ matrix (1) -
eigenvector
_ matrix _ inv (1) - eigenvectors (1)
-
enable
_ starttls _ auto (1) - enclose (1)
- entries (1)
-
enum
_ for (4) - eql? (1)
-
executable
_ real? (1) - execute (1)
- feed (1)
- fetch (1)
-
file
_ absolute _ name (1) -
file
_ absolute _ name= (1) - find (3)
-
find
_ all (2) -
find
_ index (4) -
find
_ local _ symbol (1) -
find
_ module _ named (1) -
flat
_ map (2) - force (1)
-
full
_ name (1) - generator (1)
- getopts (1)
- grep (1)
-
grep
_ v (1) -
group
_ by (1) - gsub (1)
- gsub! (1)
- headers (1)
- headers= (1)
- hostname= (1)
- index (3)
-
inner
_ product (1) -
insert
_ output (1) - inspect (7)
-
inspect
_ value (1) -
install
_ alias _ method (1) -
instance
_ methods (1) -
issuer
_ certificate (1) -
issuer
_ certificate= (1) - kconv (1)
-
keep
_ if (2) -
laplace
_ expansion (1) - lazy (2)
- lchown (1)
- lines (7)
- list (1)
- load (1)
- logger (1)
- lup (1)
-
lup
_ decomposition (1) - magnitude (1)
- map (5)
- map! (1)
-
marshal
_ dump (1) -
max
_ by (4) -
max
_ value _ length (1) -
max
_ value _ name _ length (1) - merge! (1)
-
min
_ by (2) -
minmax
_ by (1) - name (1)
- next (2)
-
next
_ values (1) - norm (1)
- normalize (1)
- normalize! (1)
-
num
_ bytes (1) -
num
_ keys (1) -
num
_ values (1) - numerator (5)
-
ok
_ to _ remove? (1) -
ole
_ query _ interface (1) -
on
_ default (1) - owner (1)
- pack (1)
- partition (1)
- peek (1)
-
peek
_ values (1) - permutation (2)
- prepended (1)
-
previous
_ sibling= (1) - prime? (1)
-
prime
_ division (1) - print (1)
-
private
_ instance _ methods (1) -
protected
_ instance _ methods (1) -
protected
_ methods (1) - protocol (2)
- protocol= (1)
-
public
_ instance _ methods (1) -
public
_ methods (1) - purpose= (2)
- push (1)
- putback (2)
- putc (1)
- quiet (1)
- quiet? (1)
-
quirks
_ mode= (1) - realm (1)
- reject (8)
- reject! (3)
-
repeated
_ combination (1) -
repeated
_ permutation (2) - resources (1)
-
respond
_ to? (1) -
respond
_ to _ missing? (2) - restore (1)
- result (2)
-
reverse
_ each (2) - rewind (2)
- rindex (1)
- round (4)
-
route
_ to (1) - run (1)
- scan (1)
- select (5)
- select! (2)
- send (3)
-
server
_ protocol (1) -
set
_ default _ paths (1) -
set
_ generator (1) -
set
_ trace _ func (1) -
singleton
_ methods (1) - size (1)
- slice (1)
-
slice
_ after (4) -
slice
_ before (5) -
slice
_ when (2) - solve (1)
-
sort
_ by (1) -
sort
_ by! (1) -
source
_ location (1) - start (1)
-
starttls
_ auto? (1) - step (8)
-
stop
_ service (1) - stopped? (1)
- stopsig (1)
- store (3)
- struct (1)
-
subject
_ certificate (1) -
subject
_ certificate= (1) -
subject
_ request (1) -
subject
_ request= (1) - subsec (1)
- succ (5)
- summarize (2)
- synchronize (1)
- take (1)
-
take
_ while (4) - terminated? (1)
- times (1)
- to= (1)
-
to
_ a (8) -
to
_ ary (4) -
to
_ binary (1) -
to
_ c (1) -
to
_ der (4) -
to
_ enum (4) -
to
_ h (3) -
to
_ hash (1) -
to
_ i (4) -
to
_ int (1) -
to
_ json (4) -
to
_ mailtext (1) -
to
_ pem (2) -
to
_ ptr (1) -
to
_ rfc822text (1) -
to
_ ruby (2) -
to
_ s (16) -
to
_ set (2) -
to
_ string (1) -
to
_ text (2) -
to
_ value (1) - toeuc (1)
- tokens (1)
-
total
_ out (1) - touch (1)
- toutf16 (1)
- toutf32 (1)
- toutf8 (1)
- transform (1)
- truncate (5)
- trust= (2)
-
tsort
_ each (1) -
tv
_ usec (1) -
uid
_ sort (1) -
uid
_ store (1) -
ultra
_ safe (1) -
ultra
_ safe= (1) - uniq (2)
- uniq! (2)
-
unit
_ test (1) - unlink (1)
- unpack (2)
- unshift (1)
- update (7)
-
upper
_ bound (1) -
upper
_ bound= (1) - upto (4)
- usec (1)
- userdb (1)
- userinfo= (1)
- utime (1)
- v (1)
-
v
_ inv (1) - value (2)
- value= (1)
- values (1)
-
values
_ at (2) - verify (1)
- wait (1)
-
wait
_ until (1) -
which
_ to _ update (1) -
with
_ defaults (1) -
with
_ index (4) -
with
_ object (4) - write (1)
- yield (1)
- zip (4)
検索結果
先頭5件
-
CGI
:: Session :: NullStore # restore -> Hash (81904.0) -
セッションの状態を復元したハッシュを返します。 このクラスでは何もしません。
セッションの状態を復元したハッシュを返します。
このクラスでは何もしません。 -
URI
:: MailTo # to -> String (81625.0) -
自身の e-mail アドレスを文字列で返します。
自身の e-mail アドレスを文字列で返します。
例:
require 'uri'
p URI.parse("mailto:nospam@example.com").to #=> "nospam@example.com" -
Gem
:: Specification # autorequire -> String (73204.0) -
非推奨の属性です。
非推奨の属性です。 -
Gem
:: Specification # autorequire=(lib) (73204.0) -
非推奨の属性です。
非推奨の属性です。 -
Vector
# r -> Float (72307.0) -
ベクトルの大きさ(ノルム)を返します。
ベクトルの大きさ(ノルム)を返します。
//emlist[例][ruby]{
require 'matrix'
Vector[3, 4].norm # => 5.0
Vector[Complex(0, 1), 0].norm # => 1.0
//}
@see Vector#normalize -
Encoding
:: Converter # insert _ output(string) -> nil (63976.0) -
変換器内のバッファに文字列を挿入します。 バッファに保持された文字列は、次の変換時の変換結果と一緒に返されます。
変換器内のバッファに文字列を挿入します。
バッファに保持された文字列は、次の変換時の変換結果と一緒に返されます。
変換先がステートフルなエンコーディングであった場合、
挿入された文字列は状態に基づいて変換され、状態を更新します。
このメソッドは変換に際してエラーが発生した際にのみ利用されるべきです。
@param string 挿入する文字列
//emlist[][ruby]{
ec = Encoding::Converter.new("utf-8", "iso-8859-1")
src = "HIRAGANA LETTER A is \u{3042}."
dst = ""
p ec.... -
URI
:: Generic # route _ to(dst) -> URI :: Generic (63925.0) -
自身から dst への相対パスを返します。
自身から dst への相対パスを返します。
@param dst URI を文字列かURIオブジェクトで与えます。
例:
require 'uri'
p URI.parse('http://example.com/').route_to('http://example.com/foo/bar.html')
#=> #<URI::Generic:0x20100198 URL:foo/bar.html> -
Numeric
# numerator -> Integer (63904.0) -
自身を Rational に変換した時の分子を返します。
自身を Rational に変換した時の分子を返します。
@return 分子を返します。
@see Numeric#denominator、Integer#numerator、Float#numerator、Rational#numerator、Complex#numerator -
Rational
# numerator -> Integer (63904.0) -
分子を返します。
分子を返します。
@return 分子を返します。
//emlist[例][ruby]{
Rational(7).numerator # => 7
Rational(7, 1).numerator # => 7
Rational(9, -4).numerator # => -9
Rational(-2, -10).numerator # => 1
//}
@see Rational#denominator -
JSON
:: Generator :: GeneratorMethods :: TrueClass # to _ json(state _ or _ hash = nil) -> String (63625.0) -
自身から生成した JSON 形式の文字列を返します。
自身から生成した JSON 形式の文字列を返します。
"true" という文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
true.to_json # => "true"
//} -
Enumerator
:: Lazy # to _ enum(method = :each , *args) {|*args| block} -> Enumerator :: Lazy (56002.0) -
Object#to_enum と同じですが、Enumerator::Lazy を返します。
Object#to_enum と同じですが、Enumerator::Lazy を返します。
to_enum は「ブロック付きで呼ぶとループを実行し、ブロックを省略した場合は
Enumerator を返す」ようなメソッドを定義するときによく使われます。
このときに lazy 性が正しく引き継がれるように、Lazy#to_enum は
素のEnumerator ではなく Enumerator::Lazy を返すようになっています。
//emlist[例][ruby]{
module Enumerable
# 要素をn回ずつ繰り返すメソッド
# 例:[1,2,3].repeat(2) ... -
Enumerator
:: Lazy # to _ enum(method = :each , *args) -> Enumerator :: Lazy (55702.0) -
Object#to_enum と同じですが、Enumerator::Lazy を返します。
Object#to_enum と同じですが、Enumerator::Lazy を返します。
to_enum は「ブロック付きで呼ぶとループを実行し、ブロックを省略した場合は
Enumerator を返す」ようなメソッドを定義するときによく使われます。
このときに lazy 性が正しく引き継がれるように、Lazy#to_enum は
素のEnumerator ではなく Enumerator::Lazy を返すようになっています。
//emlist[例][ruby]{
module Enumerable
# 要素をn回ずつ繰り返すメソッド
# 例:[1,2,3].repeat(2) ... -
Enumerator
:: Lazy # enum _ for(method = :each , *args) -> Enumerator :: Lazy (55402.0) -
Object#to_enum と同じですが、Enumerator::Lazy を返します。
Object#to_enum と同じですが、Enumerator::Lazy を返します。
to_enum は「ブロック付きで呼ぶとループを実行し、ブロックを省略した場合は
Enumerator を返す」ようなメソッドを定義するときによく使われます。
このときに lazy 性が正しく引き継がれるように、Lazy#to_enum は
素のEnumerator ではなく Enumerator::Lazy を返すようになっています。
//emlist[例][ruby]{
module Enumerable
# 要素をn回ずつ繰り返すメソッド
# 例:[1,2,3].repeat(2) ... -
Enumerator
:: Lazy # enum _ for(method = :each , *args) {|*args| block} -> Enumerator :: Lazy (55402.0) -
Object#to_enum と同じですが、Enumerator::Lazy を返します。
Object#to_enum と同じですが、Enumerator::Lazy を返します。
to_enum は「ブロック付きで呼ぶとループを実行し、ブロックを省略した場合は
Enumerator を返す」ようなメソッドを定義するときによく使われます。
このときに lazy 性が正しく引き継がれるように、Lazy#to_enum は
素のEnumerator ではなく Enumerator::Lazy を返すようになっています。
//emlist[例][ruby]{
module Enumerable
# 要素をn回ずつ繰り返すメソッド
# 例:[1,2,3].repeat(2) ... -
CGI
:: HtmlExtension # radio _ button(attributes) -> String (55204.0) -
タイプが radio である input 要素を生成します。
タイプが radio である input 要素を生成します。
@param attributes 属性をハッシュで指定します。
例:
radio_button({ "NAME" => "name", "VALUE" => "value", "ID" => "foo" })
# <INPUT TYPE="radio" NAME="name" VALUE="value" ID="foo"> -
Matrix
# column _ vectors -> [Vector] (55204.0) -
自分自身を列ベクトルの配列として返します。
自分自身を列ベクトルの配列として返します。
//emlist[例][ruby]{
require 'matrix'
a1 = [ 1, 2, 3]
a2 = [10, 15, 20]
a3 = [-1, -2, 1.5]
m = Matrix[a1, a2, a3]
p m.column_vectors # => [Vector[1, 10, -1], Vector[2, 15, -2], Vector[3, 20, 1.5]]
//} -
Prime
:: PseudoPrimeGenerator # upper _ bound=(upper _ bound) (55204.0) -
新しい列挙上界をセットします。
新しい列挙上界をセットします。
@param upper_bound 新しい上界を整数または nil で指定します。 nil は上界がなく無限に素数を列挙すべきであることを意味します。 -
Gem
:: Specification # to _ ruby -> String (54907.0) -
自身を再現するための Ruby スクリプトを文字列で返します。
自身を再現するための Ruby スクリプトを文字列で返します。
省略されている値はデフォルト値が使用されます。 -
Psych
:: Nodes :: Node # to _ ruby -> object (54907.0) -
AST を ruby のオブジェクトに変換します。
AST を ruby のオブジェクトに変換します。 -
CGI
:: HtmlExtension # radio _ button(name = "" , value = nil , checked = nil) -> String (54904.0) -
タイプが radio である input 要素を生成します。
タイプが radio である input 要素を生成します。
@param name name 属性の値を指定します。
@param value value 属性の値を指定します。
@param checked 真ならば checked 属性を設定します。
例:
radio_button("name", "value")
# <INPUT TYPE="radio" NAME="name" VALUE="value">
radio_button("name", "value", true)
# <INPUT TYPE="radio" NAME="name" ... -
Complex
# numerator -> Complex (54904.0) -
分子を返します。
分子を返します。
//emlist[例][ruby]{
Complex('1/2+2/3i').numerator # => (3+4i)
Complex(3).numerator # => (3+0i)
//}
@see Complex#denominator -
DublinCoreModel
# dc _ contributor (54904.0) -
@todo
@todo -
DublinCoreModel
# dc _ contributor= (54904.0) -
@todo
@todo -
DublinCoreModel
# dc _ contributors (54904.0) -
@todo
@todo -
Float
# numerator -> Integer (54904.0) -
自身を Rational に変換した時の分子を返します。
自身を Rational に変換した時の分子を返します。
@return 分子を返します。
//emlist[例][ruby]{
2.0.numerator # => 2
0.5.numerator # => 1
//}
@see Float#denominator -
Integer
# numerator -> Integer (54904.0) -
分子(常に自身)を返します。
分子(常に自身)を返します。
@return 分子を返します。
//emlist[][ruby]{
10.numerator # => 10
-10.numerator # => -10
//}
@see Integer#denominator -
Net
:: IMAP # uid _ store(set , attr , flags) -> [Net :: IMAP :: FetchData] | nil (54904.0) -
UID STORE コマンドを送り、メールボックス内のメッセージを 更新します。
UID STORE コマンドを送り、メールボックス内のメッセージを
更新します。
set で更新するメッセージを指定します。
これには UID、UID の配列、もしくは
Range オブジェクトを渡します。
Net::IMAP#select で指定したメールボックスを対象とします。
attr で何をどのように変化させるかを指定します。
以下を指定することができます。
* "FLAGS"
* "+FLAGS"
* "-FLAGS"
それぞれメッセージのフラグの置き換え、追加、削除を意味します。
詳しくは 2060 の 6.4.6 を参考にしてください。
返り値は更新された内... -
Net
:: SMTP # enable _ starttls _ auto(context = Net :: SMTP . default _ ssl _ context) -> () (54904.0) -
その Net::SMTP オブジェクトがSTARTTLSが利用可能な場合 (つまりサーバがSTARTTLSを広告した場合)のみにSTARTTLSを利用する ように設定します。
その Net::SMTP オブジェクトがSTARTTLSが利用可能な場合
(つまりサーバがSTARTTLSを広告した場合)のみにSTARTTLSを利用する
ように設定します。
@see Net::SMTP#starttls?, Net::SMTP#starttls_auto?, Net::SMTP#enable_starttls_auto
@param context SSL接続で利用する OpenSSL::SSL::SSLContext
@see Net::SMTP#starttls?, Net::SMTP#starttls_auto?, Net::SMTP#enable_starttl... -
Net
:: SMTP # starttls _ auto? -> bool (54904.0) -
その Net::SMTP オブジェクトが利用可能な場合にのみにSTARTTLSを利用するならば 真を返します。
その Net::SMTP オブジェクトが利用可能な場合にのみにSTARTTLSを利用するならば
真を返します。
@see Net::SMTP#starttls?, Net::SMTP#starttls_always?, Net::SMTP#enable_starttls_auto -
URI
:: Generic # userinfo=(s) (54784.0) -
自身の userinfo を設定します。
自身の userinfo を設定します。
@param s 自身の userinfo を "username" か "username:password" という形式の文字列、あるいは
[username, password] という形式の文字列の配列で指定します。
@raise URI::InvalidComponentError 不正な引数 s に対して発生します。
@raise URI::InvalidURIError userinfo と registry を同時に設定した場合に発生します。
例:
require 'uri'
u = URI.pars... -
JSON
:: Generator :: GeneratorMethods :: String # to _ json(state _ or _ hash = nil) -> String (54733.0) -
自身から生成した JSON 形式の文字列を返します。
自身から生成した JSON 形式の文字列を返します。
自身のエンコードは UTF-8 であるべきです。
"\u????" のように UTF-16 ビッグエンディアンでエンコードされた文字列を返すことがあります。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]... -
URI
:: MailTo # to _ rfc822text -> String (54646.0) -
URI オブジェクトからメールテキスト文字列を生成します。
URI オブジェクトからメールテキスト文字列を生成します。
例:
require 'uri'
p mailto = URI.parse("mailto:ruby-list@ruby-lang.org?subject=subscribe&cc=myaddr")
print mailto.to_mailtext
=> #<URI::MailTo:0x20104a0e URL:mailto:ruby-list@ruby-lang.org?subject=subscribe&cc=myaddr>
To: ruby-list@ruby-lang.org
Sub... -
RubyVM
:: InstructionSequence # to _ binary(extra _ data = nil) -> String (54643.0) -
バイナリフォーマットでシリアライズされたiseqのデータを文字列として返します。 RubyVM::InstructionSequence.load_from_binary メソッドでバイナリデータに対応するiseqオブジェクトを作れます。
バイナリフォーマットでシリアライズされたiseqのデータを文字列として返します。
RubyVM::InstructionSequence.load_from_binary メソッドでバイナリデータに対応するiseqオブジェクトを作れます。
引数の extra_data はバイナリデータと共に保存されます。
RubyVM::InstructionSequence.load_from_binary_extra_data メソッドでこの文字列にアクセス出来ます。
注意: 変換後のバイナリデータはポータブルではありません。 to_binary で得たバイナリデータは他のマシンに移動できません。他... -
CGI
:: QueryExtension :: Value # to _ ary -> Array (54610.0) -
@todo
@todo -
DublinCoreModel
# dc _ creator (54604.0) -
@todo
@todo -
DublinCoreModel
# dc _ creator= (54604.0) -
@todo
@todo -
DublinCoreModel
# dc _ creators (54604.0) -
@todo
@todo -
Matrix
:: EigenvalueDecomposition # eigenvector _ matrix -> Matrix (54604.0) -
右固有ベクトルを横に並べた行列を返します。
右固有ベクトルを横に並べた行列を返します。 -
Matrix
:: EigenvalueDecomposition # eigenvector _ matrix _ inv -> Matrix (54604.0) -
左固有ベクトルを縦に並べた行列を返します。
左固有ベクトルを縦に並べた行列を返します。
これは Matrix::EigenvalueDecomposition#v の逆行列です -
OpenSSL
:: X509 :: StoreContext # current _ cert -> OpenSSL :: X509 :: Certificate (54604.0) -
直前に検証した証明書のオブジェクトを返します。
直前に検証した証明書のオブジェクトを返します。
OpenSSL::X509::StoreContext#verify で検証が失敗した場合は
証明書チェイン中で検証に失敗した証明書のオブジェクトを返します。
証明書チェインの各証明書検証後
コールバック(OpenSSL::X509::Store#verify_callback=)呼び出しに
渡される StoreContext オブジェクトにこのメソッドを呼び出すと
直前に検証した証明書を返します。
OpenSSL::X509::StoreContext#verify を呼ぶ前に
このメソッドを呼ぶと空の OpenSSL::X509::Ce... -
OpenSSL
:: X509 :: StoreContext # current _ crl -> OpenSSL :: X509 :: CRL | nil (54604.0) -
直前に検証に利用した CRL のオブジェクトを返します。
直前に検証に利用した CRL のオブジェクトを返します。
証明書チェインの各証明書検証後
コールバック(OpenSSL::X509::Store#verify_callback=)呼び出しに
渡される StoreContext オブジェクトにこのメソッドを呼び出すと
直前に検証に利用した CRL オブジェクトを返します。 -
Prime
:: PseudoPrimeGenerator # upper _ bound -> Integer | nil (54604.0) -
現在の列挙上界を返します。 nil は上界がなく無限に素数を列挙すべきであることを意味します。
現在の列挙上界を返します。 nil は上界がなく無限に素数を列挙すべきであることを意味します。 -
RSS
:: Rss :: Channel :: Cloud # protocol (54604.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: Cloud # protocol= (54604.0) -
@todo
@todo -
RSS
:: TaxonomyTopicsModel :: TaxonomyTopics # resources (54604.0) -
@todo
@todo -
Resolv
:: DNS :: Resource :: IN :: WKS # protocol -> Integer (54604.0) -
IPプロトコル番号を返します。
IPプロトコル番号を返します。
例えば 6 は TCP に対応します。 -
WEBrick
:: HTTPAuth :: Authenticator # userdb -> WEBrick :: HTTPAuth :: Htpasswd | WEBrick :: HTTPAuth :: Htdigest (54604.0) -
認証のためのユーザデータベースを返します。
認証のためのユーザデータベースを返します。
@see WEBrick::HTTPAuth::BasicAuth, WEBrick::HTTPAuth::Htdigest -
OpenSSL
:: PKey :: EC :: Group # set _ generator(generator , order , cofactor) -> self (46504.0) -
群のパラメータを設定します。
群のパラメータを設定します。
@param generator 生成元(OpenSSL::PKey::EC::Point オブジェクト)
@param order 生成元の位数(OpenSSL::BN オブジェクト)
@param cofactor 余因子OpenSSL::BN オブジェクト
@raise OpenSSL::PKey::EC::Group::Error 設定に失敗した場合に発生します -
Integer
# upto(max) -> Enumerator (46204.0) -
self から max まで 1 ずつ増やしながら繰り返します。 self > max であれば何もしません。
self から max まで 1 ずつ増やしながら繰り返します。
self > max であれば何もしません。
@param max 数値
@return self を返します。
//emlist[][ruby]{
5.upto(10) {|i| print i, " " } # => 5 6 7 8 9 10
//}
@see Integer#downto, Numeric#step, Integer#times -
OpenSSL
:: X509 :: Store # purpose=(purpose) (46204.0) -
証明書の使用目的を設定します。
証明書の使用目的を設定します。
以下の定数値のうちいずれか1つを渡します。
* OpenSSL::X509::PURPOSE_ANY
* OpenSSL::X509::PURPOSE_CRL_SIGN
* OpenSSL::X509::PURPOSE_NS_SSL_SERVER
* OpenSSL::X509::PURPOSE_SMIME_ENCRYPT
* OpenSSL::X509::PURPOSE_SMIME_SIGN
* OpenSSL::X509::PURPOSE_SSL_CLIENT
* OpenSSL::X509::PURPOSE_SSL_SERVE... -
OpenSSL
:: X509 :: Store # trust=(trust) (46204.0) -
@todo
@todo
以下のいずれかの定数の値を指定します。
* OpenSSL::X509::TRUST_COMPAT
* OpenSSL::X509::TRUST_EMAIL
* OpenSSL::X509::TRUST_OBJECT_SIGN
* OpenSSL::X509::TRUST_SSL_CLIENT
* OpenSSL::X509::TRUST_SSL_SERVER
* OpenSSL::X509::TRUST_OCSP_REQUEST
* OpenSSL::X509::TRUST_OCSP_SIGN
@param trust 整数値
@see OpenSSL::X5... -
OpenSSL
:: X509 :: StoreContext # purpose=(purpose) (46204.0) -
証明書の使用目的を設定します。
証明書の使用目的を設定します。
以下の定数値のうちいずれか1つを渡します。
* OpenSSL::X509::PURPOSE_ANY
* OpenSSL::X509::PURPOSE_CRL_SIGN
* OpenSSL::X509::PURPOSE_NS_SSL_SERVER
* OpenSSL::X509::PURPOSE_SMIME_ENCRYPT
* OpenSSL::X509::PURPOSE_SMIME_SIGN
* OpenSSL::X509::PURPOSE_SSL_CLIENT
* OpenSSL::X509::PURPOSE_SSL_SERVE... -
OpenSSL
:: X509 :: StoreContext # trust=(trust) (46204.0) -
@todo
@todo
以下のいずれかの定数の値を指定します。
* OpenSSL::X509::TRUST_COMPAT
* OpenSSL::X509::TRUST_EMAIL
* OpenSSL::X509::TRUST_OBJECT_SIGN
* OpenSSL::X509::TRUST_SSL_CLIENT
* OpenSSL::X509::TRUST_SSL_SERVER
* OpenSSL::X509::TRUST_OCSP_REQUEST
* OpenSSL::X509::TRUST_OCSP_SIGN
@param trust 整数値
@see OpenSSL::X... -
Vector
# cross _ product(*vs) -> Vector (46204.0) -
self とベクトル vs とのクロス積を返します。
self とベクトル vs とのクロス積を返します。
self が3次元ベクトル空間のときは
普通のクロス積です。
それ以外の場合は拡張されたクロス積で
n-1個のn次元ベクトルが張る空間と
直交するベクトルを返します。
self の次元が n であるとき、 vs は n-2 個の
n次元ベクトルでなければなりません。
@param vs クロス積を取るベクトルの集合
@raise ExceptionForMatrix::ErrOperationNotDefined self の
次元が1以下であるときに発生します。
@raise ArgumentError vs のベ... -
REXML
:: Attribute # to _ string -> String (45979.0) -
"name='value'" という形式の文字列を返します。
"name='value'" という形式の文字列を返します。
//emlist[][ruby]{
require 'rexml/document'
e = REXML::Element.new("el")
e.add_attribute("ns:r", "rval")
p e.attributes.get_attribute("r").to_string # => "ns:r='rval'"
//} -
Delegator
# respond _ to _ missing?(m , include _ private) -> bool (45907.0) -
@param m メソッド名を指定します。
@param m メソッド名を指定します。
@param include_private 真を指定すると private メソッドも調べます。 -
Fiddle
:: CStruct # to _ ptr -> Fiddle :: Pointer (45907.0) -
保持している構造体へのポインタを返します。
保持している構造体へのポインタを返します。 -
Gem
:: Commands :: UpdateCommand # which _ to _ update(highest _ installed _ gems , gem _ names) -> Array (45907.0) -
更新が必要な Gem のリストを返します。
更新が必要な Gem のリストを返します。 -
Integer
# upto(max) {|n| . . . } -> Integer (45904.0) -
self から max まで 1 ずつ増やしながら繰り返します。 self > max であれば何もしません。
self から max まで 1 ずつ増やしながら繰り返します。
self > max であれば何もしません。
@param max 数値
@return self を返します。
//emlist[][ruby]{
5.upto(10) {|i| print i, " " } # => 5 6 7 8 9 10
//}
@see Integer#downto, Numeric#step, Integer#times -
Matrix
:: EigenvalueDecomposition # eigenvectors -> [Vector] (45904.0) -
右固有ベクトルを配列で返します。
右固有ベクトルを配列で返します。 -
Module
# ancestors -> [Class , Module] (45904.0) -
クラス、モジュールのスーパークラスとインクルードしているモジュール を優先順位順に配列に格納して返します。
クラス、モジュールのスーパークラスとインクルードしているモジュール
を優先順位順に配列に格納して返します。
//emlist[例][ruby]{
module Foo
end
class Bar
include Foo
end
class Baz < Bar
p ancestors
p included_modules
p superclass
end
# => [Baz, Bar, Foo, Object, Kernel, BasicObject]
# => [Foo, Kernel]
# => Bar
//}
@see Module#included_modules
... -
Numeric
# denominator -> Integer (45904.0) -
自身を Rational に変換した時の分母を返します。
自身を Rational に変換した時の分母を返します。
@return 分母を返します。
@see Numeric#numerator、Integer#denominator、Float#denominator、Rational#denominator、Complex#denominator -
OpenSSL
:: X509 :: ExtensionFactory # subject _ certificate -> OpenSSL :: X509 :: Certificate | nil (45904.0) -
自身に設定されている所有者(subject)の証明書オブジェクトを返します。
自身に設定されている所有者(subject)の証明書オブジェクトを返します。
証明書が設定されていない場合は nil を返します。 -
OpenSSL
:: X509 :: ExtensionFactory # subject _ request -> OpenSSL :: X509 :: Request | nil (45904.0) -
自身に設定されている証明書署名要求オブジェクトを返します。
自身に設定されている証明書署名要求オブジェクトを返します。
設定されていない場合は nil を返します。 -
OpenSSL
:: X509 :: ExtensionFactory # subject _ request=(req) (45904.0) -
自身に証明書署名要求オブジェクトを設定します。
自身に証明書署名要求オブジェクトを設定します。
@param req 設定する証明書署名要求(OpenSSL::X509::Request)オブジェクト
@see OpenSSL::X509::ExtensionFactory.new -
RDoc
:: TopLevel # add _ class _ or _ module(collection , class _ type , name , superclass) -> RDoc :: NormalClass | RDoc :: SingleClass | RDoc :: NormalModule (45904.0) -
collection に name で指定したクラス、モジュールを追加します。
collection に name で指定したクラス、モジュールを追加します。
@param collection クラス、モジュールを追加する先を Hash オブジェ
クトで指定します。
@param class_type 追加するクラス、モジュールを RDoc::NormalClass、
RDoc::SingleClass、RDoc::NormalModule オ
ブジェクトのいずれかで指定します。
@param name クラス名を文字列で指定します。
@param su... -
String
# toeuc -> String (45904.0) -
self のエンコーディングを EUC-JP に変換した文字列を 返します。変換元のエンコーディングは文字列の内容から推測します。
self のエンコーディングを EUC-JP に変換した文字列を
返します。変換元のエンコーディングは文字列の内容から推測します。
このメソッドは MIME エンコードされた文字列を展開し、
いわゆる半角カナを全角に変換します。
これらを変換したくない場合は、 NKF.#nkf('-exm0', str)
を使ってください。
@see Kconv.#toeuc -
String
# toutf16 -> String (45904.0) -
self のエンコーディングを UTF-16BE に変換した文字列を 返します。変換元のエンコーディングは文字列の内容から推測します。
self のエンコーディングを UTF-16BE に変換した文字列を
返します。変換元のエンコーディングは文字列の内容から推測します。
このメソッドは MIME エンコードされた文字列を展開し、
いわゆる半角カナを全角に変換します。
これらを変換したくない場合は、 NKF.#nkf('-w16xm0', str)
を使ってください。
@see Kconv.#toutf16 -
String
# toutf32 -> String (45904.0) -
self のエンコーディングを UTF-32 に変換した文字列を 返します。変換元のエンコーディングは文字列の内容から推測します。
self のエンコーディングを UTF-32 に変換した文字列を
返します。変換元のエンコーディングは文字列の内容から推測します。
このメソッドは MIME エンコードされた文字列を展開し、
いわゆる半角カナを全角に変換します。
これらを変換したくない場合は、 NKF.#nkf('-w32xm0', str)
を使ってください。
@see Kconv.#toutf32 -
String
# toutf8 -> String (45904.0) -
self のエンコーディングを UTF-8 に変換した文字列を 返します。変換元のエンコーディングは文字列の内容から推測します。
self のエンコーディングを UTF-8 に変換した文字列を
返します。変換元のエンコーディングは文字列の内容から推測します。
このメソッドは MIME エンコードされた文字列を展開し、
いわゆる半角カナを全角に変換します。
これらを変換したくない場合は、 NKF.#nkf('-wxm0', str)
を使ってください。
@see Kconv.#toutf8 -
Zlib
:: ZStream # total _ out -> Integer (45904.0) -
ストリームの出力したデータの総バイト数を返します。
ストリームの出力したデータの総バイト数を返します。 -
URI
:: MailTo # to _ mailtext -> String (45646.0) -
URI オブジェクトからメールテキスト文字列を生成します。
URI オブジェクトからメールテキスト文字列を生成します。
例:
require 'uri'
p mailto = URI.parse("mailto:ruby-list@ruby-lang.org?subject=subscribe&cc=myaddr")
print mailto.to_mailtext
=> #<URI::MailTo:0x20104a0e URL:mailto:ruby-list@ruby-lang.org?subject=subscribe&cc=myaddr>
To: ruby-list@ruby-lang.org
Sub... -
Fiddle
:: Pointer # to _ value -> object (45625.0) -
自身はヒープに確保された Ruby のオブジェクトを指すポインタであると仮定して、 自身が指すオブジェクトを返します。
自身はヒープに確保された Ruby のオブジェクトを指すポインタであると仮定して、
自身が指すオブジェクトを返します。
例:
require 'fiddle'
s = 'abc'
i = Fiddle.dlwrap(s)
cptr = Fiddle::Pointer.new(i)
p cptr.to_value #=> "abc" -
Gem
:: Requirement # to _ s -> String (45625.0) -
条件を表す文字列を返します。
条件を表す文字列を返します。
//emlist[][ruby]{
req = Gem::Requirement.new(["< 5.0", ">= 1.9"])
p req.to_s # => "< 5.0, >= 1.9"
//} -
RubyVM
:: InstructionSequence # to _ a -> Array (45625.0) -
self の情報を 14 要素の配列にして返します。
self の情報を 14 要素の配列にして返します。
命令シーケンスを以下の情報で表します。
: magic
データフォーマットを示す文字列。常に
"YARVInstructionSequence/SimpleDataFormat"。
: major_version
命令シーケンスのメジャーバージョン。
: minor_version
命令シーケンスのマイナーバージョン。
: format_type
データフォーマットを示す数値。常に 1。
: misc
以下の要素から構成される Hash オブジェクト。
:arg_size: メソッド、ブ... -
URI
:: Generic # to _ s -> String (45625.0) -
自身が表す URI を文字列として返します。
自身が表す URI を文字列として返します。
例:
require 'uri'
p URI.parse('http://example.com/').to_s #=> "http://example.com/" -
UncaughtThrowError
# to _ s -> String (45625.0) -
self を tag を含む文字列表現にして返します。
self を tag を含む文字列表現にして返します。
//emlist[例][ruby]{
def do_complicated_things
throw :uncaught_label
end
begin
do_complicated_things
rescue UncaughtThrowError => ex
p ex.to_s # => "uncaught throw :uncaught_label"
end
//} -
REXML
:: Child # previous _ sibling=(other) (45622.0) -
other を self の前の隣接ノードとします。
other を self の前の隣接ノードとします。
つまり、親ノードが持つ子ノード列の self の前に
other を挿入します。
@param other 挿入するノード
//emlist[][ruby]{
require 'rexml/document'
a = REXML::Element.new("a")
b = a.add_element("b")
c = REXML::Element.new("c")
b.next_sibling = c
d = REXML::Element.new("d")
b.previous_sibling = d
p a.to_s # =>... -
StopIteration
# result -> object (45622.0) -
この例外オブジェクトを発生させる原因となったメソッド等の返り値を返します。
この例外オブジェクトを発生させる原因となったメソッド等の返り値を返します。
object = Object.new
def object.each
yield :yield1
yield :yield2
:each_returned
end
enumerator = object.to_enum
p enumerator.next #=> :yield1
p enumerator.next #=> :yield2
begin
enumerator.next
rescue StopIteration => error
... -
CGI
:: QueryExtension :: Value # to _ a -> Array (45610.0) -
@todo
@todo -
Matrix
:: EigenvalueDecomposition # to _ ary -> [Matrix , Matrix , Matrix] (45610.0) -
Matrix::EigenvalueDecomposition#v, Matrix::EigenvalueDecomposition#d, Matrix::EigenvalueDecomposition#v_inv をこの順に並べた配列を返します。
Matrix::EigenvalueDecomposition#v,
Matrix::EigenvalueDecomposition#d,
Matrix::EigenvalueDecomposition#v_inv
をこの順に並べた配列を返します。 -
Matrix
:: LUPDecomposition # to _ ary -> [Matrix , Matrix , Matrix] (45610.0) -
分解した行列を [下半行列, 上半行列, 置換行列] という3要素の配列で 返します。
分解した行列を [下半行列, 上半行列, 置換行列] という3要素の配列で
返します。 -
OpenSSL
:: OCSP :: Request # to _ der -> String (45607.0) -
Request オブジェクトを DER 形式の文字列に変換します。
Request オブジェクトを DER 形式の文字列に変換します。 -
OpenSSL
:: PKey :: EC :: Group # to _ der -> String (45607.0) -
自身を DER 形式の文字列に変換します。
自身を DER 形式の文字列に変換します。
@raise OpenSSL::PKey::EC::Group::Error 変換に失敗した場合に発生します。 -
OpenSSL
:: X509 :: Attribute # to _ der -> String (45607.0) -
自身を DER 形式のバイト列に変換します。
自身を DER 形式のバイト列に変換します。
@raise OpenSSL::X509::AttributeError 変換に失敗した場合に発生します -
OpenSSL
:: X509 :: Request # to _ der -> String (45607.0) -
DER 形式の文字列に変換して返します。
DER 形式の文字列に変換して返します。
@raise OpenSSL::X509::RequestError 変換に失敗した場合に発生します -
CGI
:: QueryExtension # server _ protocol -> String (45604.0) -
ENV['SERVER_PROTOCOL'] を返します。
ENV['SERVER_PROTOCOL'] を返します。 -
Delegator
# marshal _ dump -> object (45604.0) -
シリアライゼーションをサポートするためにDelegator#__getobj__ が返すオブジェクトを返します。
シリアライゼーションをサポートするためにDelegator#__getobj__ が返すオブジェクトを返します。 -
IRB
:: Context # auto _ indent _ mode -> bool (45604.0) -
入力が次の行に継続した時に自動で字下げを行うかどうかを返します。
入力が次の行に継続した時に自動で字下げを行うかどうかを返します。
デフォルト値は false です。
@return 自動で字下げを行う場合は true を返します。行わない場合は false
を返します。
@see IRB::Context#auto_indent_mode= -
IRB
:: Context # auto _ indent _ mode=(val) (45604.0) -
入力が次の行に継続した時に自動で字下げを行うかどうかを val に設定します。
入力が次の行に継続した時に自動で字下げを行うかどうかを val に設定します。
@param val true を指定した場合、自動で字下げを行います。false を指定し
た場合は自動で字下げを行いません。
IRB::Context#prompt_mode の変更に影響を受ける事に注意してください。
@see IRB::Context#auto_indent_mode -
Kernel
# touch -> () (45604.0) -
ファイルのアクセス時刻と修正時刻を現在の時刻に変更します。
ファイルのアクセス時刻と修正時刻を現在の時刻に変更します。
ruby -run -e touch -- [OPTION] FILE
-v 詳細表示
@see touch(1) -
OpenSSL
:: PKey :: EC :: Group # cofactor -> OpenSSL :: BN (45604.0) -
余因子を返します。
余因子を返します。
@raise OpenSSL::PKey::EC::Group::Error 余因子の取得に失敗した場合に発生します -
OpenSSL
:: PKey :: EC :: Group # generator -> OpenSSL :: PKey :: EC :: Point (45604.0) -
群の生成元を返します。
群の生成元を返します。 -
OpenSSL
:: X509 :: ExtensionFactory # issuer _ certificate -> OpenSSL :: X509 :: Certificate | nil (45604.0) -
自身に設定されている発行者(issuer)の証明書オブジェクトを返します。
自身に設定されている発行者(issuer)の証明書オブジェクトを返します。
証明書が設定されていない場合は nil を返します。 -
OpenSSL
:: X509 :: ExtensionFactory # issuer _ certificate=(cert) (45604.0) -
自身に発行者(issuer)の証明書オブジェクトを設定します。
自身に発行者(issuer)の証明書オブジェクトを設定します。
@param cert 設定する証明書(OpenSSL::X509::Certificate)オブジェクト
@see OpenSSL::X509::ExtensionFactory.new -
OpenSSL
:: X509 :: ExtensionFactory # subject _ certificate=(name) (45604.0) -
自身に所有者(subject)の証明書オブジェクトを設定します。
自身に所有者(subject)の証明書オブジェクトを設定します。
@param cert 設定する証明書(OpenSSL::X509::Certificate)オブジェクト
@see OpenSSL::X509::ExtensionFactory.new -
PStore
# ultra _ safe -> bool (45604.0) -
真であれば、パフォーマンスと引き換えにファイル更新の衝突を避けることができます。 デフォルトは偽です。
真であれば、パフォーマンスと引き換えにファイル更新の衝突を避けることができます。
デフォルトは偽です。
このフラグの効果があるのは一部のプラットフォームだけです。
(e.g. all POSIX platforms: Linux, Mac OS X, FreeBSD, etc) -
PStore
# ultra _ safe=(flag) (45604.0) -
真をセットすると、パフォーマンスと引き換えにファイル更新の衝突を避けることができます。
真をセットすると、パフォーマンスと引き換えにファイル更新の衝突を避けることができます。
このフラグの効果があるのは一部のプラットフォームだけです。
(e.g. all POSIX platforms: Linux, Mac OS X, FreeBSD, etc)
@param flag 真偽値を指定します。 -
String
# upto(max , exclusive = false) {|s| . . . } -> self (45604.0) -
self から始めて max まで 「次の文字列」を順番にブロックに与えて繰り返します。 「次」の定義については String#succ を参照してください。
self から始めて max まで
「次の文字列」を順番にブロックに与えて繰り返します。
「次」の定義については String#succ を参照してください。
たとえば以下のコードは a, b, c, ... z, aa, ... az, ..., za を
出力します。
//emlist[][ruby]{
("a" .. "za").each do |str|
puts str
end
'a'.upto('za') do |str|
puts str
end
//}
@param max 繰り返しをやめる文字列
@param exclusive max を含むかどうか... -
URI
:: MailTo # to=(s) (45325.0) -
自身の e-mail アドレスを文字列で設定します。
自身の e-mail アドレスを文字列で設定します。
@param s 自身の e-mail アドレスを文字列で指定します。
@raise URI::InvalidComponentError 不正な引数 s に対して発生します。
例:
require 'uri'
m = URI.parse("mailto:nospam@example.com")
m.to = "nospaaaam@example.com"
p m #=> #<URI::MailTo:0xb7bf0614 URL:mailt...