8596件ヒット
[1-100件を表示]
(0.187秒)
ライブラリ
- English (11)
- ビルトイン (2612)
- bigdecimal (110)
-
bigdecimal
/ jacobian (11) -
cgi
/ core (77) -
cgi
/ session (11) - coverage (14)
- csv (99)
- date (121)
- dbm (11)
- delegate (11)
- digest (22)
- drb (33)
-
drb
/ extserv (11) - fiber (8)
- fiddle (55)
- fileutils (66)
- gdbm (11)
-
io
/ console (11) -
io
/ nonblock (22) -
io
/ wait (32) - ipaddr (88)
-
irb
/ cmd / load (11) -
irb
/ context (187) -
irb
/ ext / math-mode (8) -
irb
/ ext / tracer (22) -
irb
/ ext / use-loader (33) -
irb
/ input-method (22) - json (55)
- kconv (88)
- logger (11)
- matrix (232)
-
minitest
/ unit (1) - mkmf (385)
- monitor (81)
-
net
/ ftp (76) -
net
/ http (66) -
net
/ imap (66) -
net
/ pop (44) -
net
/ smtp (22) -
net
/ telnet (4) - openssl (491)
- optparse (11)
- pathname (154)
- pp (11)
- prettyprint (1)
- prime (33)
- psych (121)
- rake (121)
-
rake
/ packagetask (11) -
rake
/ testtask (11) -
rdoc
/ code _ object (11) -
rdoc
/ context (11) -
rdoc
/ markdown (33) -
rdoc
/ parser (11) - readline (22)
- resolv (11)
-
rexml
/ document (99) -
rexml
/ parsers / pullparser (44) -
rinda
/ tuplespace (33) - ripper (22)
- rubygems (22)
-
rubygems
/ command (11) -
rubygems
/ commands / build _ command (11) -
rubygems
/ config _ file (55) -
rubygems
/ custom _ require (11) -
rubygems
/ dependency _ list (22) -
rubygems
/ doc _ manager (11) -
rubygems
/ gem _ openssl (11) -
rubygems
/ gem _ path _ searcher (11) -
rubygems
/ installer (33) -
rubygems
/ package / tar _ reader / entry (22) -
rubygems
/ package / tar _ writer (11) -
rubygems
/ remote _ fetcher (11) -
rubygems
/ requirement (77) -
rubygems
/ security (66) -
rubygems
/ source _ index (11) -
rubygems
/ spec _ fetcher (11) -
rubygems
/ specification (88) -
rubygems
/ uninstaller (33) -
rubygems
/ user _ interaction (22) -
rubygems
/ version (29) - sdbm (11)
- set (37)
- shell (162)
-
shell
/ command-processor (138) -
shell
/ filter (138) -
shell
/ process-controller (30) -
shell
/ system-command (12) - socket (363)
- stringio (55)
- strscan (66)
- sync (12)
-
syslog
/ logger (11) - thwait (12)
- tracer (66)
- uri (66)
- weakref (11)
-
webrick
/ httpauth / basicauth (11) -
webrick
/ httprequest (33) -
webrick
/ httpresponse (33) -
webrick
/ httpservlet / filehandler (11) -
webrick
/ httpstatus (66) -
webrick
/ log (55) - win32ole (143)
- zlib (121)
クラス
-
ARGF
. class (11) - Addrinfo (220)
- Array (30)
- BasicObject (44)
- BasicSocket (66)
- BigDecimal (110)
- Bignum (15)
- Binding (11)
- CGI (22)
-
CGI
:: Cookie (22) -
CGI
:: Session (11) - CSV (66)
-
CSV
:: Row (33) - Complex (19)
- Coverage (14)
- DBM (11)
-
DRb
:: DRbServer (22) -
DRb
:: ExtServ (11) - Date (121)
- Delegator (11)
-
Digest
:: Base (22) - Dir (28)
- Encoding (22)
-
Encoding
:: InvalidByteSequenceError (11) -
Enumerator
:: ArithmeticSequence (12) -
Enumerator
:: Lazy (63) - Exception (18)
- Fiber (11)
-
Fiddle
:: Handle (11) -
Fiddle
:: Pointer (33) - File (286)
-
File
:: Stat (198) - Fixnum (24)
- Float (29)
- GDBM (11)
-
Gem
:: Command (11) -
Gem
:: Commands :: BuildCommand (11) -
Gem
:: ConfigFile (55) -
Gem
:: DependencyList (22) -
Gem
:: DocManager (11) -
Gem
:: GemPathSearcher (11) -
Gem
:: Installer (33) -
Gem
:: Package :: TarReader :: Entry (22) -
Gem
:: Package :: TarWriter (11) -
Gem
:: RemoteFetcher (11) -
Gem
:: Requirement (77) -
Gem
:: Security :: Policy (66) -
Gem
:: SourceIndex (11) -
Gem
:: SpecFetcher (11) -
Gem
:: Specification (88) -
Gem
:: StreamUI (11) -
Gem
:: Uninstaller (33) -
Gem
:: Version (29) - Hash (22)
- IO (186)
- IPAddr (88)
-
IRB
:: Context (239) -
IRB
:: ExtendCommand :: Require (11) -
IRB
:: ReadlineInputMethod (11) -
IRB
:: StdioInputMethod (11) - Integer (120)
-
JSON
:: State (44) - Logger (11)
- Matrix (199)
-
Matrix
:: LUPDecomposition (11) -
MiniTest
:: Unit :: TestCase (1) - Module (132)
- Monitor (34)
-
MonitorMixin
:: ConditionVariable (11) -
Net
:: FTP (31) -
Net
:: FTP :: MLSxEntry (45) -
Net
:: HTTP (22) -
Net
:: HTTPGenericRequest (33) -
Net
:: HTTPResponse (11) -
Net
:: IMAP (22) -
Net
:: IMAP :: BodyTypeBasic (11) -
Net
:: IMAP :: BodyTypeMessage (11) -
Net
:: IMAP :: BodyTypeMultipart (11) -
Net
:: IMAP :: BodyTypeText (11) -
Net
:: POP3 (33) -
Net
:: POPMail (11) -
Net
:: SMTP (22) -
Net
:: Telnet (4) - NilClass (33)
- NoMethodError (8)
- Numeric (70)
- Object (94)
-
OpenSSL
:: ASN1 :: Boolean (11) -
OpenSSL
:: ASN1 :: Enumerated (11) -
OpenSSL
:: BN (51) -
OpenSSL
:: Netscape :: SPKI (11) -
OpenSSL
:: OCSP :: BasicResponse (11) -
OpenSSL
:: OCSP :: CertificateId (22) -
OpenSSL
:: OCSP :: Request (11) -
OpenSSL
:: PKCS7 (11) -
OpenSSL
:: PKey :: DSA (33) -
OpenSSL
:: PKey :: EC (33) -
OpenSSL
:: PKey :: EC :: Point (44) -
OpenSSL
:: PKey :: PKey (11) -
OpenSSL
:: PKey :: RSA (11) -
OpenSSL
:: SSL :: SSLContext (22) -
OpenSSL
:: SSL :: SSLServer (11) -
OpenSSL
:: SSL :: SSLSocket (11) -
OpenSSL
:: SSL :: Session (11) -
OpenSSL
:: X509 :: CRL (11) -
OpenSSL
:: X509 :: Certificate (22) -
OpenSSL
:: X509 :: Extension (22) -
OpenSSL
:: X509 :: Request (11) -
OpenSSL
:: X509 :: Store (22) -
OpenSSL
:: X509 :: StoreContext (11) - OptionParser (11)
- PP (11)
- Pathname (154)
- PrettyPrint (1)
- Prime (22)
-
Process
:: Status (33) -
Psych
:: Emitter (11) -
Psych
:: Handler (11) -
Psych
:: Nodes :: Document (22) -
Psych
:: Nodes :: Mapping (11) -
Psych
:: Nodes :: Scalar (11) -
Psych
:: Nodes :: Sequence (11) -
Psych
:: Visitors :: YAMLTree (44) -
RDoc
:: CodeObject (11) -
RDoc
:: Context :: Section (11) -
RDoc
:: Markdown (33) -
RDoc
:: Options (154) -
RDoc
:: Parser (11) -
REXML
:: AttlistDecl (11) -
REXML
:: Attribute (11) -
REXML
:: Element (22) -
REXML
:: Entity (11) -
REXML
:: Instruction (11) -
REXML
:: Parsers :: PullEvent (44) -
REXML
:: XMLDecl (22) -
Rake
:: FileCreationTask (11) -
Rake
:: FileList (44) -
Rake
:: FileTask (11) -
Rake
:: InvocationChain (11) -
Rake
:: InvocationChain :: EmptyInvocationChain (11) -
Rake
:: PackageTask (11) -
Rake
:: Task (11) -
Rake
:: TestTask (11) - Range (17)
- Rational (27)
- Regexp (44)
-
Resolv
:: DNS :: Name (11) -
Rinda
:: TupleEntry (33) - Ripper (22)
- SDBM (11)
- Set (37)
- Shell (162)
-
Shell
:: CommandProcessor (138) -
Shell
:: Filter (138) -
Shell
:: ProcessController (30) -
Shell
:: SystemCommand (12) -
Socket
:: AncillaryData (11) -
Socket
:: Option (66) - String (169)
- StringIO (55)
- StringScanner (66)
- Struct (3)
- Symbol (18)
-
Syslog
:: Logger (11) - SystemExit (11)
- Thread (93)
-
Thread
:: SizedQueue (7) - ThreadsWait (12)
- Time (132)
- TracePoint (55)
- Tracer (66)
-
URI
:: Generic (66) - Vector (22)
-
WEBrick
:: BasicLog (55) -
WEBrick
:: Cookie (11) -
WEBrick
:: HTTPAuth :: BasicAuth (11) -
WEBrick
:: HTTPRequest (33) -
WEBrick
:: HTTPResponse (33) -
WEBrick
:: HTTPServlet :: DefaultFileHandler (11) - WIN32OLE (22)
-
WIN32OLE
_ METHOD (33) -
WIN32OLE
_ PARAM (44) -
WIN32OLE
_ TYPE (11) -
WIN32OLE
_ TYPELIB (11) -
WIN32OLE
_ VARIABLE (11) - WeakRef (11)
-
Zlib
:: GzipFile (33) -
Zlib
:: GzipReader (22) -
Zlib
:: Inflate (22) -
Zlib
:: ZStream (44)
モジュール
-
CGI
:: QueryExtension (55) - Comparable (11)
- DRb (11)
- Enumerable (110)
- Fiddle (11)
- FileTest (259)
- FileUtils (66)
- GC (11)
-
GC
:: Profiler (11) - Gem (22)
-
Gem
:: LocalRemoteOptions (33) -
Gem
:: UserInteraction (11) -
IRB
:: ExtendCommandBundle (11) - JSON (11)
- Jacobian (11)
- Kconv (44)
- Kernel (561)
- MonitorMixin (36)
- OpenSSL (11)
-
OpenSSL
:: ASN1 (22) -
OpenSSL
:: Buffering (33) -
Process
:: GID (22) -
Process
:: Sys (11) -
Process
:: UID (22) -
REXML
:: Namespace (11) - RakeFileUtils (22)
- Readline (11)
-
RubyVM
:: MJIT (18) -
Sync
_ m (12) -
WEBrick
:: HTTPStatus (66) -
WIN32OLE
:: VARIANT (11) - Warning (5)
オブジェクト
- ENV (11)
-
Readline
:: HISTORY (11)
キーワード
- ! (11)
- != (11)
-
$ -v (11) -
$ -w (11) -
$ IGNORECASE (11) -
$ VERBOSE (11) - < (36)
- <= (36)
- == (232)
- === (80)
- =~ (11)
- > (36)
- >= (36)
- APOP (11)
- BOOLEAN (11)
- Boolean (11)
-
NEEDS
_ BINMODE (11) -
OPENSSL
_ FIPS (11) -
VARIANT
_ BINARY (11) -
VT
_ BOOL (11) - WINDOWS (11)
- [] (23)
- ^ (11)
-
_ setproperty (11) -
abort
_ on _ exception (22) - absolute (11)
- absolute? (11)
-
absolute
_ path? (5) - active? (28)
-
active
_ job? (6) -
active
_ jobs _ exist? (6) -
alias
_ extension (11) - alive? (55)
- all? (17)
-
all
_ one _ file (11) - allbits? (7)
- antisymmetric? (6)
- any? (21)
- anybits? (7)
-
ascii
_ compatible? (11) -
ascii
_ only? (22) -
ask
_ if _ ok (11) -
ask
_ yes _ no (22) - attlistdecl? (11)
- authenticate (11)
-
auto
_ indent _ mode (11) - autoclose= (11)
- autoclose? (11)
- backtrace (11)
-
beginning
_ of _ line? (11) - begins? (11)
- benchmark (11)
- between? (22)
- binary (11)
- binmode (2)
- binmode? (33)
-
bit
_ set? (11) -
block
_ given? (11) - blockdev? (51)
-
body
_ exist? (11) -
body
_ permitted? (11) - bol? (11)
- both? (11)
-
break
_ on _ newline (11) - canceled? (11)
- canonical (11)
-
capable
_ login _ auth? (11) -
capable
_ plain _ auth? (11) - casecmp? (16)
- chardev? (51)
-
check
_ circular? (11) -
check
_ private _ key (11) -
chunk
_ while (11) - chunked? (11)
-
class
_ variable _ defined? (11) -
client
_ error? (11) -
close
_ enabled? (11) -
close
_ on _ exec= (11) -
close
_ on _ exec? (11) - closed? (55)
-
closed
_ read? (11) -
closed
_ write? (11) - cmp (22)
-
cmp
_ issuer (11) -
cmsg
_ is? (11) -
compare
_ by _ identity? (11) -
compare
_ file (11) -
compare
_ stream (11) -
completion
_ case _ fold (11) -
const
_ defined? (11) - correct? (7)
- critical? (11)
- data (11)
- debug (23)
- debug? (34)
-
default
_ passive (9) -
definition
_ lists (11) - deleted? (11)
-
dependencies
_ ok? (11) - diagonal? (11)
- diagram (11)
- directory? (82)
-
directory
_ makable? (9) - disable (33)
- disconnected? (11)
- disjoint? (11)
-
display
_ c _ call (11) -
display
_ c _ call? (11) -
display
_ process _ id (11) -
display
_ process _ id? (11) -
display
_ thread _ id (11) -
display
_ thread _ id? (11) -
do
_ not _ reverse _ lookup (22) -
document
_ children (11) -
dry
_ run (11) -
dsa
_ verify _ asn1 (11) - dst? (11)
- dummy? (11)
- echo (11)
- echo? (22)
- empty? (81)
- enable (22)
-
enable
_ config (22) - enabled? (28)
-
end
_ seen? (11) -
end
_ with? (16) - ended? (11)
- entitydecl? (11)
- eof (44)
- eof? (66)
- eos? (11)
- eql? (113)
- equal? (11)
- error? (22)
- even? (17)
- event? (11)
- exact? (11)
-
exclude
_ end? (6) -
excluded
_ from _ list? (11) - exclusive? (6)
- executable? (51)
-
executable
_ real? (51) - execute (11)
- exist? (62)
- exists? (45)
- exited? (11)
- expired? (11)
- fatal? (11)
- field? (11)
-
field
_ row? (11) - file? (82)
-
file
_ input? (11) -
file
_ uri? (11) - fileboxes (11)
-
find
_ header (11) -
find
_ library (22) - finished (11)
- finished? (28)
- finite? (38)
- first? (1)
-
fixed
_ encoding? (11) - fnmatch (11)
- fnmatch? (11)
-
force
_ output (11) -
force
_ update (11) - friday? (22)
- gem (11)
- getsockopt (11)
- github (11)
- gmt? (11)
- gregorian? (11)
-
gregorian
_ leap? (11) - grpowned? (51)
-
has
_ attributes? (11) -
has
_ key? (11) -
has
_ name? (11) -
has
_ rdoc (11) -
has
_ rdoc? (11) -
has
_ test _ suite? (11) -
has
_ unit _ tests? (11) -
have
_ func (22) -
have
_ header (22) -
have
_ library (22) -
have
_ macro (22) -
have
_ option? (11) -
have
_ struct _ member (22) -
have
_ type (22) -
have
_ var (22) - here? (22)
- hermitian? (11)
- hierarchical? (11)
-
home
_ install _ warning (11) - httopnly (11)
-
hyperlink
_ all (11) - identical? (33)
-
ignore
_ deadlock (3) -
ignore
_ eof (11) -
ignore
_ eof? (11) -
ignore
_ sigint (11) -
ignore
_ sigint? (11) - implicit (33)
-
implicit
_ end (11) - include? (165)
-
include
_ line _ numbers (11) -
incomplete
_ input? (11) - independent? (22)
- infinity? (11)
- info? (44)
-
inline
_ source (11) - input? (11)
- inspect? (11)
-
installation
_ satisfies _ dependency? (11) -
instance
_ of? (11) -
instance
_ variable _ defined? (11) - instruction? (11)
- integer? (11)
- intersect? (14)
- ip? (11)
- ipv4? (22)
-
ipv4
_ compat? (11) -
ipv4
_ loopback? (11) -
ipv4
_ mapped? (11) -
ipv4
_ multicast? (11) -
ipv4
_ private? (11) - ipv6? (22)
-
ipv6
_ linklocal? (11) -
ipv6
_ loopback? (11) -
ipv6
_ mc _ global? (11) -
ipv6
_ mc _ linklocal? (11) -
ipv6
_ mc _ nodelocal? (11) -
ipv6
_ mc _ orglocal? (11) -
ipv6
_ mc _ sitelocal? (11) -
ipv6
_ multicast? (11) -
ipv6
_ sitelocal? (11) -
ipv6
_ unique _ local? (11) -
ipv6
_ unspecified? (11) -
ipv6
_ v4compat? (11) -
ipv6
_ v4mapped? (11) -
irb
_ require (11) - isEqual (11)
-
is
_ a? (22) - isatty (22)
- isdst (11)
- iseuc (22)
- isjis (22)
- issetugid (11)
- issjis (22)
- isutf8 (22)
- iterator? (11)
-
jobs
_ exist? (6) - julian? (11)
-
julian
_ leap? (11) -
keep
_ alive (22) -
keep
_ alive? (22) - key? (11)
-
keyword
_ init? (3) -
kind
_ of? (22) - leap? (11)
-
line
_ numbers (11) - linger (11)
- listable? (9)
- load (11)
- loaded? (11)
- local? (11)
-
local
_ variable _ defined? (11) -
lower
_ triangular? (11) - match? (8)
- matched? (11)
- matches? (11)
-
matching
_ file? (11) - math? (4)
-
math
_ mode (4) - member? (43)
-
method
_ defined? (11) -
mon
_ locked? (12) -
mon
_ owned? (12) -
mon
_ try _ enter (16) - monday? (11)
- mountpoint? (11)
- multipart? (55)
- nan? (11)
-
need
_ zip (11) - needed? (22)
- negative? (33)
- new (33)
-
new
_ session (11) - nil? (22)
- nobits? (7)
- nonblock (11)
- nonblock? (11)
- none? (11)
- normal? (11)
-
not
_ modified? (11) - notationdecl? (11)
-
nowrite
_ flag (11) - nph? (11)
- null? (11)
- odd? (17)
- ok? (11)
-
ok
_ to _ remove? (11) -
ole
_ respond _ to? (11) -
on
_ curve? (11) -
only
_ signed (11) -
only
_ trusted (11) - optional? (11)
- orthogonal? (11)
- output? (11)
- owned? (51)
- passed? (1)
- passive (11)
-
path
_ ok? (11) -
path
_ warning (11) - pause (6)
-
pending
_ interrupt? (22) - permutation? (11)
- pipe (11)
- pipe? (62)
- plain (11)
- positive? (26)
- prerelease? (22)
- prime? (55)
-
prime
_ fasttest? (11) - private? (22)
-
private
_ call? (8) -
private
_ key? (11) -
private
_ method _ defined? (11) - prompting? (11)
-
protected
_ method _ defined? (11) - public? (11)
-
public
_ key? (11) -
public
_ method _ defined? (11) - quiet (11)
-
quirks
_ mode (11) -
quirks
_ mode? (11) - rc (11)
- rc? (11)
-
rdoc
_ installed? (11) -
re
_ exchangeable? (22) - readable? (51)
-
readable
_ real? (51) - ready? (10)
- real? (22)
-
really
_ verbose (11) - recvmsg (11)
- redirect? (11)
- regular? (11)
- relative? (22)
- remote? (11)
-
report
_ on _ exception (16) -
report
_ on _ exception= (8) -
request
_ body _ permitted? (11) - require (22)
-
require
_ relative (11) -
required
_ attribute? (11) -
respond
_ to? (11) -
respond
_ to _ missing? (22) -
response
_ body _ permitted? (11) - rest? (11)
- resume (6)
-
return
_ type (11) - retval? (11)
-
ruby 1
. 8 . 4 feature (11) - running? (7)
-
satisfied
_ by? (11) -
satisfies
_ requirement? (11) - saturday? (11)
- secure (22)
-
server
_ error? (11) -
session
_ add (11) -
session
_ remove (11) -
session
_ reused? (11) - setgid? (62)
- setsockopt (22)
- setuid? (62)
-
sharing
_ detection (11) -
show
_ all (11) -
show
_ hash (11) -
sid
_ available? (22) - signaled? (11)
-
singleton
_ class? (11) - singular? (22)
- size? (11)
-
skew
_ symmetric? (6) -
skip
_ blanks? (11) -
slice
_ after (42) -
slice
_ before (55) -
slice
_ when (21) - socket? (51)
- specific? (11)
- square? (11)
- ssl? (11)
-
ssl
_ available? (11) - start (7)
-
start
_ immediately (11) -
start
_ with? (16) - started (11)
- started? (33)
- sticky? (62)
-
stream
_ end? (11) - streaming? (11)
-
subdomain
_ of? (11) - success? (22)
- sunday? (11)
- symlink? (51)
- symmetric? (11)
- sync (44)
-
sync
_ exclusive? (6) -
sync
_ point? (11) - system (44)
- sysverify (11)
- tainted? (6)
-
task
_ defined? (11) - telnetmode (2)
- test (40)
-
thread
_ variable? (11) - thursday? (11)
-
to
_ a (11) -
to
_ io (11) -
to
_ s (11) -
to
_ tty? (7) -
try
_ compile (22) -
try
_ enter (11) -
try
_ func (22) -
try
_ link (22) -
try
_ mon _ enter (16) -
try
_ run (22) -
try
_ static _ assert (22) -
try
_ type (22) -
try
_ var (22) - tty? (22)
- tuesday? (11)
-
unconverted
_ fields? (11) -
unescape
_ filename? (11) -
unicode
_ normalized? (10) - unitary? (11)
- unix? (11)
- update (11)
-
update
_ sources (11) -
upper
_ triangular? (11) - uptodate? (11)
-
use
_ loader (11) -
use
_ loader? (11) -
use
_ readline (11) -
use
_ readline? (11) -
use
_ registry (11) -
use
_ tracer (11) -
use
_ tracer? (11) - utc? (11)
-
valid
_ civil? (11) -
valid
_ commercial? (11) -
valid
_ date? (11) -
valid
_ encoding? (11) -
valid
_ jd? (11) -
valid
_ ordinal? (11) - validate (11)
- verbose (22)
- verbose? (11)
-
verbose
_ flag (11) - verify (121)
-
verify
_ chain (11) -
verify
_ data (11) -
verify
_ root (11) -
verify
_ signer (11) - visible? (44)
- wait (22)
- wait? (6)
-
wait
_ for _ cond (3) -
wait
_ readable (11) -
waiting
_ job? (6) -
waiting
_ jobs _ exist? (6) - warn? (11)
-
warn
_ legacy (11) - warning (11)
-
weakref
_ alive? (11) - wednesday? (11)
- whitespace (11)
-
win
_ platform? (11) -
with
_ config (22) -
world
_ writable? (33) - writable? (71)
-
writable
_ real? (62) -
write
_ headers? (11) - writeencoding (11)
- writethis (11)
- yaml? (11)
- yydebug (11)
- zero? (87)
- | (11)
検索結果
先頭5件
-
StringScanner
# beginning _ of _ line? -> bool (21502.0) -
スキャンポインタが行頭を指しているなら true を、 行頭以外を指しているなら false を返します。
...\n の直後を指していることです。
文字列末尾は必ずしも行頭ではありません。
//emlist[例][ruby]{
require 'strscan'
s = StringScanner.new("test\nstring")
s.bol? # => true
s.scan(/\w+/)
s.bol? # => false
s.scan(/\n/)
s.bol? # => true
s.scan(/\w+/)... -
Socket
:: Option . bool(family , level , optname , boolean) -> Socket :: Option (21413.0) -
整数をデータとして持つ Socket::Option オブジェクト新たに生成し返します。
...て持つ Socket::Option オブジェクト新たに生成し返します。
family, level, optname には Socket::SOL_SOCKET のような整数の他、
文字列("SOL_SOCKET", "SOCKET")、シンボル(:SOL_SOCKET, :SOCKET)を
指定することができます。
@param family ソケットファ......ションの名前
@param boolean データ(真偽値)
require 'socket'
p Socket::Option.bool(:INET, :SOCKET, :KEEPALIVE, true)
# => #<Socket::Option: INET SOCKET KEEPALIVE 1>
p Socket::Option.bool(:INET, :SOCKET, :KEEPALIVE, false)
# => #<Socket::Option: AF_INET SOCKET KEEPALIVE 0>... -
Socket
:: Option # bool -> bool (21302.0) -
オプションのデータ(内容)を真偽値に変換して返します。
...オプションのデータ(内容)を真偽値に変換して返します。
@raise TypeError dataのバイト数が不適切である(sizeof(int)と異なる)場合に発生します
@see Socket::Option#data... -
Encoding
:: InvalidByteSequenceError # incomplete _ input? -> bool (18431.0) -
エラー発生時に入力文字列が不足している場合に真を返します。
...す。
//emlist[例][ruby]{
ec = Encoding::Converter.new("EUC-JP", "ISO-8859-1")
begin
ec.convert("abc\xA1z")
rescue Encoding::InvalidByteSequenceError
p $!
#=> #<Encoding::InvalidByteSequenceError: "\xA1" followed by "z" on EUC-JP>
p $!.incomplete_input? #=> false
end
begin
ec.conve......rt("abc\xA1")
ec.finish
rescue Encoding::InvalidByteSequenceError
p $! #=> #<Encoding::InvalidByteSequenceError: incomplete "\xA1" on EUC-JP>
p $!.incomplete_input? #=> true
end
//}... -
Gem
:: Installer . home _ install _ warning -> bool (15401.0) -
この値が真の場合、ホームディレクトリに Gem をインストールしようとすると警告を表示します。
この値が真の場合、ホームディレクトリに Gem をインストールしようとすると警告を表示します。 -
IRB
:: ExtendCommandBundle # irb _ require(*opts , &b) -> bool (15401.0) -
現在の irb に関する IRB::Context に対して irb_require コマンドを 実行します。
...現在の irb に関する IRB::Context に対して irb_require コマンドを
実行します。
@see IRB::ExtendCommand::Require#execute... -
OpenSSL
:: PKey :: EC :: Point # infinity? -> bool (15401.0) -
自身が無限遠点であるならば true を返します。
...自身が無限遠点であるならば true を返します。
@raise OpenSSL::PKey::EC::Point::Error エラーが生じた場合に発生します
@see OpenSSL::PKey::EC::Point#set_to_infinity!... -
Kconv
. # isjis(str) -> bool (12451.0) -
文字列 str が ISO-2022-JP なバイト列として正当であるかどうかを判定します。
...文字列 str が ISO-2022-JP なバイト列として正当であるかどうかを判定します。
@param str 判定対象の文字列
@see String#isjis
//emlist[例][ruby]{
require 'kconv'
euc_str = "\
\xa5\xaa\xa5\xd6\xa5\xb8\xa5\xa7\xa5\xaf\xa5\xc8\xbb\xd8\xb8\xfe\
\xa5\xd7\xa5\xed\xa5\xb0......force_encoding('EUC-JP')
jis_str = "\
\x1b\x24\x42\x25\x2a\x25\x56\x25\x38\x25\x27\x25\x2f\x25\x48\x3b\x58\x38\x7e\
\x25\x57\x25\x6d\x25\x30\x25\x69\x25\x5f\x25\x73\x25\x30\x38\x40\x38\x6c\x1b\x28\x42\
\x52\x75\x62\x79".force_encoding('ISO-2022-JP')
euc_str.isjis # => false
jis_str.isjis # => tr... -
Kconv
. # issjis(str) -> bool (12401.0) -
文字列 str が Shift_JIS なバイト列として正当であるかどうかを判定します。
...文字列 str が Shift_JIS なバイト列として正当であるかどうかを判定します。
@param str 判定対象の文字列
@see String#issjis... -
Object
# instance _ variable _ defined?(var) -> bool (12401.0) -
インスタンス変数 var が定義されていたら真を返します。
...//emlist[][ruby]{
class Fred
def initialize(p1, p2)
@a, @b = p1, p2
end
end
fred = Fred.new('cat', 99)
p fred.instance_variable_defined?(:@a) #=> true
p fred.instance_variable_defined?("@b") #=> true
p fred.instance_variable_defined?("@c") #=> false
//}
@see Object#instance_variable_......get,Object#instance_variable_set,Object#instance_variables...