5008件ヒット
[201-300件を表示]
(0.126秒)
別のキーワード
ライブラリ
- ビルトイン (1082)
- abbrev (11)
- benchmark (11)
- bigdecimal (22)
-
cgi
/ core (352) -
cgi
/ html (44) - csv (55)
- date (22)
- dbm (77)
- gdbm (66)
-
irb
/ ext / save-history (11) - json (22)
-
json
/ add / date (11) -
json
/ add / date _ time (11) -
json
/ add / symbol (11) - logger (22)
- mkmf (11)
-
net
/ ftp (83) -
net
/ http (231) -
net
/ imap (396) -
net
/ smtp (11) - open-uri (11)
- openssl (561)
- optparse (22)
- pathname (11)
- pp (33)
- prettyprint (11)
- psych (231)
- rake (55)
- resolv (33)
-
rexml
/ document (264) -
ripper
/ lexer (22) -
rubygems
/ command (11) -
rubygems
/ commands / dependency _ command (33) -
rubygems
/ dependency (22) -
rubygems
/ indexer (22) -
rubygems
/ package / tar _ header (11) -
rubygems
/ package / tar _ input (11) -
rubygems
/ package / tar _ reader / entry (33) -
rubygems
/ requirement (11) -
rubygems
/ source _ info _ cache (33) -
rubygems
/ specification (44) - scanf (36)
- sdbm (77)
- shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) -
shell
/ system-command (24) - shellwords (11)
- socket (66)
- stringio (168)
- strscan (66)
-
syslog
/ logger (11) - uri (33)
-
webrick
/ httprequest (55) -
webrick
/ httpresponse (22) -
webrick
/ log (11) - win32ole (231)
-
yaml
/ dbm (88) - zlib (44)
クラス
-
ARGF
. class (9) - Array (129)
- BasicSocket (22)
-
Benchmark
:: Tms (11) - BigDecimal (22)
- CSV (33)
-
CSV
:: Table (11) - DBM (77)
- Date (33)
- DateTime (11)
- Encoding (11)
-
Encoding
:: Converter (11) -
Encoding
:: InvalidByteSequenceError (33) - Enumerator (22)
-
File
:: Stat (11) - GDBM (66)
-
Gem
:: Command (11) -
Gem
:: Commands :: DependencyCommand (33) -
Gem
:: Dependency (22) -
Gem
:: Indexer (22) -
Gem
:: Package :: TarHeader (11) -
Gem
:: Package :: TarInput (11) -
Gem
:: Package :: TarReader :: Entry (33) -
Gem
:: Requirement (11) -
Gem
:: SourceInfoCache (33) -
Gem
:: Specification (44) - IO (45)
-
IRB
:: Context (11) -
JSON
:: State (11) - Logger (11)
-
Logger
:: Formatter (11) - MatchData (11)
- Module (87)
-
Net
:: FTP (11) -
Net
:: FTP :: MLSxEntry (72) -
Net
:: HTTP (66) -
Net
:: HTTPGenericRequest (11) -
Net
:: HTTPResponse (44) -
Net
:: IMAP (11) -
Net
:: IMAP :: BodyTypeBasic (99) -
Net
:: IMAP :: BodyTypeMessage (99) -
Net
:: IMAP :: BodyTypeMultipart (55) -
Net
:: IMAP :: BodyTypeText (99) -
Net
:: IMAP :: ContentDisposition (11) -
Net
:: IMAP :: Envelope (11) -
Net
:: IMAP :: MailboxList (11) -
Net
:: SMTP (11) - Object (91)
-
OpenSSL
:: Cipher (11) -
OpenSSL
:: PKCS7 (22) -
OpenSSL
:: PKCS7 :: RecipientInfo (11) -
OpenSSL
:: PKey :: DH (77) -
OpenSSL
:: PKey :: DSA (110) -
OpenSSL
:: PKey :: EC (55) -
OpenSSL
:: PKey :: EC :: Group (55) -
OpenSSL
:: PKey :: PKey (11) -
OpenSSL
:: PKey :: RSA (143) -
OpenSSL
:: SSL :: SSLSocket (22) -
OpenSSL
:: X509 :: ExtensionFactory (33) -
OpenSSL
:: X509 :: StoreContext (11) - OptionParser (11)
-
OptionParser
:: ParseError (11) - Pathname (11)
- PrettyPrint (11)
-
Psych
:: Nodes :: Alias (11) -
Psych
:: Nodes :: Document (11) -
Psych
:: Nodes :: Mapping (22) -
Psych
:: Nodes :: Node (33) -
Psych
:: Nodes :: Scalar (33) -
Psych
:: Nodes :: Sequence (22) -
Psych
:: ScalarScanner (22) -
Psych
:: SyntaxError (33) -
REXML
:: AttlistDecl (11) -
REXML
:: Attribute (11) -
REXML
:: DocType (77) -
REXML
:: Element (33) -
REXML
:: Entity (99) -
REXML
:: ExternalEntity (11) -
REXML
:: NotationDecl (11) -
Rake
:: EarlyTime (11) -
Rake
:: FileList (22) -
Rake
:: InvocationChain :: EmptyInvocationChain (11) - Random (11)
-
Resolv
:: DNS (33) -
Ripper
:: Lexer (22) -
RubyVM
:: AbstractSyntaxTree :: Node (6) -
RubyVM
:: InstructionSequence (86) - SDBM (77)
- Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) -
Shell
:: SystemCommand (24) - Socket (11)
-
Socket
:: AncillaryData (11) -
Socket
:: Option (11) - String (231)
- StringIO (168)
- StringScanner (66)
- Symbol (360)
- SyntaxError (2)
-
Syslog
:: Logger :: Formatter (11) - Thread (11)
- Time (27)
- UDPSocket (11)
-
URI
:: FTP (11) -
URI
:: Generic (22) - UnboundMethod (22)
-
WEBrick
:: HTTPRequest (55) -
WEBrick
:: HTTPResponse (22) -
WEBrick
:: Log (11) -
WIN32OLE
_ METHOD (22) -
WIN32OLE
_ PARAM (22) -
WIN32OLE
_ TYPE (99) -
WIN32OLE
_ TYPELIB (55) -
WIN32OLE
_ VARIABLE (22) -
WIN32OLE
_ VARIANT (11) -
YAML
:: DBM (88) -
Zlib
:: Deflate (22) -
Zlib
:: Inflate (22)
モジュール
-
CGI
:: HtmlExtension (44) -
CGI
:: QueryExtension (352) -
JSON
:: Generator :: GeneratorMethods :: Array (11) - Kernel (45)
-
Net
:: HTTPHeader (110) -
OpenURI
:: Meta (11) -
REXML
:: Namespace (11)
キーワード
- * (33)
- <=> (11)
- =~ (11)
- [] (132)
- abbrev (11)
-
absolute
_ path (11) - accept (11)
-
accept
_ charset (11) -
accept
_ encoding (11) -
accept
_ language (11) -
alias
_ method (3) - anchor (44)
- arguments (11)
- arity (11)
-
array
_ nl (11) -
ascii
_ only? (11) - attr (20)
-
attr
_ accessor (3) -
attr
_ reader (3) -
attr
_ writer (3) -
attribute
_ of (11) -
auth
_ type (11) -
base
_ label (11) - bind (11)
- body (55)
- byteindex (2)
- byterindex (2)
- bytes (47)
- bytesize (11)
- byteslice (33)
- bytesplice (6)
-
cache
_ control (11) - call (22)
- capability (11)
-
capable
_ auth _ types (11) - capitalize (11)
- casecmp (11)
- casecmp? (8)
- charset (9)
- clone (11)
- coerce (11)
- command (6)
-
compute
_ key (11) -
content
_ id (33) -
content
_ type (55) - context (11)
-
create
_ body (11) -
create
_ ext _ from _ string (11) -
create
_ extension (22) - crypt (11)
-
curve
_ name (11) - data (11)
-
datetime
_ format (11) - decrypt (11)
-
define
_ method (22) -
define
_ singleton _ method (22) - delete (33)
- description (33)
-
dest
_ directory (11) -
destination
_ encoding _ name (11) -
dh
_ compute _ key (11) - directory (11)
- disasm (11)
- disassemble (11)
- downcase (11)
-
dsa
_ sign _ asn1 (11) -
dsp
_ type (11) - dummy? (11)
-
dummy
_ makefile (11) - dup (11)
-
each
_ byte (44) -
each
_ resource (11) - empty? (33)
-
enc
_ key (11) - encoding (44)
-
end
_ with? (5) - entities (11)
- entity (22)
- eos? (11)
-
error
_ bytes (11) - export (55)
- external (11)
-
external
_ id (11) - facts (9)
- fetch (44)
- file (11)
- flush (11)
- form (22)
- format (11)
- from (11)
- fsync (11)
- ftype (40)
-
full
_ name (11) -
gateway
_ interface (11) -
get
_ byte (11) -
get
_ fields (11) - getbyte (33)
- getc (11)
- getresource (11)
- getresources (11)
- gets (11)
- gsub (11)
- guid (22)
- helpfile (11)
- helpstring (11)
-
history
_ file (11) - host (11)
- id2name (11)
-
in
_ reply _ to (11) - index (11)
- inspect (55)
- intern (22)
- invert (11)
- isatty (11)
- join (11)
- key (44)
- keys (44)
- label (11)
- lang (9)
- language (44)
-
latest
_ system _ cache _ file (11) - length (11)
- lex (11)
-
library
_ name (11) -
main
_ type (11) - match (11)
- match? (8)
- md5 (33)
-
media
_ subtype (44) -
media
_ type (53) -
module
_ function (8) -
multipart
_ form (22) - name (76)
- names (11)
- namespace (11)
- namespaces (11)
- ndata (11)
- negotiate (11)
- newline (11)
- next (11)
- normalized (11)
- notify (12)
-
ole
_ type (33) -
ole
_ type _ detail (22) - pack (19)
- param (44)
- params (44)
- parse (11)
-
parse
_ time (11) - path (24)
-
path
_ info (11) -
path
_ translated (11) -
pathmap
_ explode (11) - pathname (9)
- peek (11)
- peep (11)
- perm (9)
- pragma (11)
- prefix (11)
- prefixes (11)
-
pretty
_ inspect (11) -
pretty
_ print (11) -
pretty
_ print _ inspect (11) -
pretty
_ print _ instance _ variables (11) -
print
_ dependencies (11) - private (12)
-
private
_ decrypt (11) -
private
_ encrypt (11) - problem (11)
- progid (11)
- protected (12)
-
proxy
_ address (11) -
proxy
_ basic _ auth (11) -
proxy
_ pass (11) -
proxy
_ uri (11) -
proxy
_ user (11) - proxyaddr (11)
-
psych
_ to _ yaml (11) -
psych
_ y (11) - pubid (11)
- public (23)
-
public
_ decrypt (11) -
public
_ encrypt (11) - putback (11)
- query (22)
-
query
_ string (22) -
random
_ key (11) - read (11)
-
read
_ body (22) -
read
_ nonblock (20) -
readagain
_ bytes (11) - readbyte (11)
- readline (11)
-
recvfrom
_ nonblock (11) - recvmsg (11)
-
recvmsg
_ nonblock (11) - ref (11)
- referer (11)
- registry (11)
- reject (11)
-
remote
_ addr (11) -
remote
_ host (11) -
remote
_ ident (11) -
remote
_ user (11) -
request
_ method (11) -
requirements
_ list (11) -
return
_ type (11) -
return
_ type _ detail (11) -
rubygems
_ version (11) - scanf (36)
-
script
_ name (11) - scrub (11)
- scrub! (11)
- seed (11)
- select (44)
-
server
_ name (11) -
server
_ protocol (11) -
server
_ software (11) -
set
_ backtrace (11) -
set
_ dictionary (22) - setbyte (11)
- shelljoin (11)
- shift (22)
- sign (11)
-
signing
_ key (11) - size (11)
- slice (55)
- split (11)
-
src
_ type (11) -
ssl
_ version (11) -
start
_ with? (5) - store (33)
- strftime (22)
-
sub
_ type (11) - subtype (44)
- succ (11)
- summary (22)
-
summary
_ indent (11) - swapcase (11)
- sync (22)
- sysread (55)
- syssign (11)
- system (33)
-
system
_ cache _ file (11) - syswrite (33)
- tag (44)
-
tag
_ directives (11) -
thread
_ variable? (11) -
time
_ format (11) -
to
_ a (11) -
to
_ binary (9) -
to
_ csv (11) -
to
_ der (55) -
to
_ json (44) -
to
_ pem (77) -
to
_ ruby (11) -
to
_ s (165) -
to
_ sym (22) -
to
_ text (55) -
to
_ yaml (22) - tokenize (11)
-
try
_ file (11) - tty? (11)
- type (9)
- typecode (11)
- typeflag (11)
- ungetbyte (11)
- unique (9)
- unnormalized (11)
- unpack (22)
- upcase (11)
- usage (11)
-
user
_ agent (11) - value (22)
-
values
_ at (33) - vartype (11)
- verify (22)
-
with
_ object (22) -
write
_ nonblock (11) - yaml (11)
-
yield
_ self (14) -
zipped
_ stream (11)
検索結果
先頭5件
-
String
# scrub {|bytes| . . . } -> String (9310.0) -
self が不正なバイト列を含む場合に別の文字列に置き換えた新しい文字列を返します。
...ブ
ロックの戻り値で置き換えられます。
//emlist[例][ruby]{
"abc\u3042\x81".scrub # => "abc\u3042\uFFFD"
"abc\u3042\x81".scrub("*") # => "abc\u3042*"
"abc\u3042\xE3\x80".scrub{|bytes| '<'+bytes.unpack('H*')[0]+'>' } # => "abc\u3042<e380>"
//}
@see String#scrub!... -
String
# scrub! {|bytes| . . . } -> String (9310.0) -
self が不正なバイト列を含む場合に別の文字列に置き換えます。常に self を返します。
...ロックの戻り値で置き換えられます。
//emlist[例][ruby]{
"abc\u3042\x81".scrub! # => "abc\u3042\uFFFD"
"abc\u3042\x81".scrub!("*") # => "abc\u3042*"
"abc\u3042\xE3\x80".scrub!{|bytes| '<'+bytes.unpack('H*')[0]+'>' } # => "abc\u3042<e380>"
//}
@see String#scrub... -
Encoding
:: InvalidByteSequenceError # error _ bytes -> String (9308.0) -
エラー発生時に捨てられたバイト列を返します。
...[ruby]{
ec = Encoding::Converter.new("EUC-JP", "ISO-8859-1")
begin
ec.convert("abc\xA1\xFFdef")
rescue Encoding::InvalidByteSequenceError
p $!
#=> #<Encoding::InvalidByteSequenceError: "\xA1" followed by "\xFF" on EUC-JP>
puts $!.error_bytes.dump #=> "\xA1"
puts $!.readagain_bytes.......dump #=> "\xFF"
end
//}
@see Encoding::InvalidByteSequenceError#readagain_bytes... -
StringScanner
# get _ byte -> String | nil (9303.0) -
1 バイトスキャンして文字列で返します。 スキャンポインタをその後ろに進めます。 スキャンポインタが文字列の末尾を指すなら nil を返します。
...す。
StringScanner#getbyte は将来のバージョンで削除される予定です。
代わりに StringScanner#get_byte を使ってください。
//emlist[例][ruby]{
require 'strscan'
utf8 = "\u{308B 3073 3044}"
s = StringScanner.new(utf8.encode("EUC-JP"))
p s.get_byte #=> "\xA4"
p......s.get_byte #=> "\xEB"
p s.get_byte #=> "\xA4"
p s.get_byte #=> "\xD3"
p s.get_byte #=> "\xA4"
p s.get_byte #=> "\xA4"
p s.get_byte #=> nil
//}... -
StringScanner
# getbyte -> String | nil (9303.0) -
1 バイトスキャンして文字列で返します。 スキャンポインタをその後ろに進めます。 スキャンポインタが文字列の末尾を指すなら nil を返します。
...す。
StringScanner#getbyte は将来のバージョンで削除される予定です。
代わりに StringScanner#get_byte を使ってください。
//emlist[例][ruby]{
require 'strscan'
utf8 = "\u{308B 3073 3044}"
s = StringScanner.new(utf8.encode("EUC-JP"))
p s.get_byte #=> "\xA4"
p......s.get_byte #=> "\xEB"
p s.get_byte #=> "\xA4"
p s.get_byte #=> "\xD3"
p s.get_byte #=> "\xA4"
p s.get_byte #=> "\xA4"
p s.get_byte #=> nil
//}... -
Encoding
:: InvalidByteSequenceError # readagain _ bytes -> String (9302.0) -
エラー発生時に読み直さなければならないバイト列を返します。
...エラー発生時に読み直さなければならないバイト列を返します。
@see Encoding::InvalidByteSequenceError#error_bytes... -
WIN32OLE
_ TYPE # helpstring -> String | nil (9302.0) -
型のドキュメント文字列を取得します。
...n ドキュメント文字列を返します。未定義の場合はnilを返します。
tobj = WIN32OLE_TYPE.new('Microsoft Internet Controls', 'IWebBrowser')
p tobj.helpstring # => "Web Browser interface"
ドキュメント文字列は、コンテキストヘルプなどに利用可能な... -
WIN32OLE
_ TYPE # ole _ type -> String | nil (9302.0) -
selfの型の種類(TYPEKIND)を取得します。
...型の種類(TYPEKIND)を取得します。
@return selfの型の種類を文字列で返します。情報が取得できない場合はnilを返します。
tobj = WIN32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'Application')
p tobj.ole_type # => Class
ole_typeには以下が......コンポーネントクラス(InterfaceやDispatchの実装)(5)
: Alias
他の型の別名(6)
: Union
共用体(7)
: Max
型の種類を示す列挙体の終端マーカ(8)
MaxはTYPEKINDの終端マーカなので意味を持ちません。
@see WIN32OLE_TYPE#typekind... -
WIN32OLE
_ TYPE # src _ type -> String | nil (9302.0) -
selfが他の型の別名ならば、元の型名を取得します。
...します。別名でなければnilを
返します。
tobj = WIN32OLE_TYPE.new('Microsoft Office 14.0 Object Library', 'MsoRGBType')
p tobj.src_type # => "I4"
この例は、OfficeのMsoRGBType型は符号付き32ビット整数(I4)の別名だとい
うことを示します... -
String
# unpack(template) -> Array (9267.0) -
Array#pack で生成された文字列を テンプレート文字列 template にしたがってアンパックし、 それらの要素を含む配列を返します。
...Array#pack で生成された文字列を
テンプレート文字列 template にしたがってアンパックし、
それらの要素を含む配列を返します。
@param template pack テンプレート文字列
@return オブジェクトの配列
以下にあげるもの......は、Array#pack、String#unpack、String#unpack1
のテンプレート文字の一覧です。テンプレート文字は後に「長さ」を表す数字
を続けることができます。「長さ」の代わりに`*'とすることで「残り全て」
を表すこともできます。
長さ......ます。
強制的にエンディアンを指定したいときは、
リトルエンディアンなら < を、
ビッグエンディアンなら >
を後ろにつけます。! と組み合わせることも可能です。
まとめると以下のようになります。
: エンディアン非...