ライブラリ
- ビルトイン (101)
- bigdecimal (1)
-
cgi
/ core (2) -
cgi
/ session (5) -
cgi
/ session / pstore (1) - continuation (1)
- csv (1)
- date (1)
- delegate (1)
- digest (2)
-
digest
/ md5 (1) -
digest
/ rmd160 (1) -
digest
/ sha1 (1) -
digest
/ sha2 (4) - drb (3)
-
drb
/ gw (1) -
drb
/ timeridconv (1) - fiddle (6)
-
fiddle
/ import (2) - getoptlong (3)
- ipaddr (1)
- irb (2)
-
irb
/ cmd / chws (2) -
irb
/ cmd / help (1) -
irb
/ cmd / load (3) -
irb
/ cmd / nop (1) -
irb
/ cmd / pushws (3) -
irb
/ cmd / subirb (4) -
irb
/ context (1) -
irb
/ ext / loader (1) -
irb
/ frame (1) -
irb
/ input-method (4) -
irb
/ inspector (1) -
irb
/ output-method (2) -
irb
/ workspace (1) - json (3)
- logger (2)
- matrix (6)
- monitor (2)
-
net
/ ftp (1) -
net
/ http (57) -
net
/ imap (28) -
net
/ pop (4) -
net
/ protocol (4) -
net
/ smtp (2) - open-uri (1)
- openssl (71)
- optparse (8)
- prettyprint (1)
- prime (5)
- psych (10)
- pty (1)
- rake (10)
-
rake
/ loaders / makefile (1) -
rake
/ tasklib (1) -
rdoc
/ alias (1) -
rdoc
/ context (1) -
rdoc
/ generator / darkfish (1) -
rdoc
/ generator / json _ index (1) -
rdoc
/ generator / ri (1) -
rdoc
/ include (1) -
rdoc
/ markup / to _ ansi (1) -
rdoc
/ parser / simple (1) -
rdoc
/ require (1) -
rdoc
/ single _ class (1) - resolv (20)
- rexml (2)
-
rexml
/ document (11) -
rexml
/ parsers / ultralightparser (1) -
rinda
/ rinda (9) -
rinda
/ tuplespace (2) - ripper (1)
-
ripper
/ filter (1) -
ripper
/ lexer (1) - rss (78)
-
rubygems
/ builder (1) -
rubygems
/ commands / build _ command (1) -
rubygems
/ commands / environment _ command (1) -
rubygems
/ commands / generate _ index _ command (1) -
rubygems
/ commands / install _ command (1) -
rubygems
/ commands / list _ command (1) -
rubygems
/ commands / mirror _ command (1) -
rubygems
/ commands / pristine _ command (1) -
rubygems
/ commands / specification _ command (1) -
rubygems
/ commands / uninstall _ command (1) -
rubygems
/ commands / which _ command (1) -
rubygems
/ config _ file (1) -
rubygems
/ dependency _ installer (1) -
rubygems
/ dependency _ list (1) -
rubygems
/ digest / digest _ adapter (1) -
rubygems
/ exceptions (16) -
rubygems
/ ext / builder (1) -
rubygems
/ ext / configure _ builder (1) -
rubygems
/ ext / ext _ conf _ builder (1) -
rubygems
/ ext / rake _ builder (1) -
rubygems
/ indexer (1) -
rubygems
/ installer (2) -
rubygems
/ package (4) -
rubygems
/ package / tar _ input (1) -
rubygems
/ package / tar _ writer (4) -
rubygems
/ requirement (2) -
rubygems
/ security (3) -
rubygems
/ source _ index (1) -
rubygems
/ source _ info _ cache (1) -
rubygems
/ source _ info _ cache _ entry (1) -
rubygems
/ specification (1) -
rubygems
/ test _ utilities (1) -
rubygems
/ uninstaller (1) -
rubygems
/ user _ interaction (6) -
rubygems
/ validator (1) -
rubygems
/ version (1) - socket (8)
- stringio (1)
- strscan (2)
- tempfile (1)
- timeout (2)
- tsort (1)
- uri (11)
-
webrick
/ accesslog (1) -
webrick
/ cgi (2) -
webrick
/ httpauth / basicauth (2) -
webrick
/ httpauth / digestauth (2) -
webrick
/ httpauth / htdigest (1) -
webrick
/ httpauth / htgroup (1) -
webrick
/ httpauth / htpasswd (1) -
webrick
/ httpproxy (1) -
webrick
/ httprequest (1) -
webrick
/ httpresponse (1) -
webrick
/ httpserver (3) -
webrick
/ httpservlet / abstract (2) -
webrick
/ httpservlet / cgihandler (1) -
webrick
/ httpservlet / erbhandler (1) -
webrick
/ httpservlet / filehandler (2) -
webrick
/ httpservlet / prochandler (1) -
webrick
/ httpstatus (48) -
webrick
/ httputils (1) -
webrick
/ httpversion (1) -
webrick
/ log (2) -
webrick
/ server (4) -
win32
/ registry (3) -
win32
/ resolv (1) - win32ole (9)
- zlib (18)
キーワード
- A (1)
- AAAA (1)
- AES (1)
- AES128 (1)
- AES192 (1)
- AES256 (1)
- ANY (1)
- APOPSession (1)
- Abort (1)
- AbstractServlet (1)
- Accepted (1)
- AccessLogError (1)
- Address (1)
- Addrinfo (1)
- Alias (2)
- AmbiguousArgument (1)
- AmbiguousOption (2)
- AncillaryData (1)
- Application (1)
- ArithmeticSequence (1)
- AttlistDecl (1)
- Attribute (2)
- AttributeError (1)
- Attributes (1)
- BF (1)
- BMPString (1)
- BadAlias (1)
- BadGateway (1)
- BadRequest (1)
- BadResponseError (1)
- BadURIError (1)
- Base (1)
- BasicAuth (1)
- BasicLog (1)
- BasicObject (1)
- BasicResponse (1)
- BasicSocket (1)
- BigDecimal (1)
- Bignum (1)
- Binding (1)
- BitString (1)
- BlockCaller (1)
- BodyTypeBasic (1)
- BodyTypeMessage (1)
- BodyTypeMultipart (1)
- BodyTypeText (1)
- BoundedStream (1)
- BufError (1)
- BuildCommand (1)
- Builder (2)
- ByeResponseError (1)
- CAST5 (1)
- CGI (2)
- CGIError (1)
- CGIHandler (1)
- CNAME (1)
- CRCError (1)
- CStruct (1)
- CUnion (1)
- Categories (5)
- CategoriesBase (2)
- Category (4)
- CategoryBase (1)
- Certificate (1)
- CertificateError (1)
- CertificateId (1)
- Chain (1)
- ChangeWorkspace (1)
- Child (1)
- ChildExited (1)
- Cipher (2)
- CipherError (1)
- CircularDatastructure (1)
- Class (1)
- ClientError (1)
- ClosedIO (1)
- Closure (1)
- CommandLineError (1)
- CompatibilityError (1)
- Complex (1)
- ConditionVariable (3)
- Config (1)
- ConfigError (1)
- ConfigFile (1)
- ConfigureBuilder (1)
- Conflict (1)
- ConsoleUI (1)
- Constructive (1)
- ContentDisposition (1)
- Context (1)
- Continuation (1)
- ContinuationRequest (1)
- Continue (1)
- ConversionError (1)
- Converter (1)
- ConverterNotFoundError (1)
- Cookie (2)
- Created (1)
- CurrentWorkingWorkspace (1)
- Cyclic (1)
- DES (1)
- DLError (1)
- DRbBadURI (1)
- DRbIdConv (2)
- DRbObjectTemplate (1)
- DSS (1)
- DSS1 (1)
- Daemon (1)
- Darkfish (1)
- DataError (1)
- DataFormatError (1)
- DateTime (1)
- Day (2)
- DayBase (1)
- Declaration (1)
- DefaultFileHandler (1)
- Deflate (1)
- DependencyInstaller (1)
- DependencyList (1)
- DependencyRemovalException (1)
- Digest (2)
- DigestAdapter (1)
- DigestAuth (1)
- DigestError (1)
- Dir (1)
- DomainError (1)
- DomainName (1)
- E2BIG (1)
- EADDRINUSE (1)
- EADDRNOTAVAIL (1)
- EAGAIN (1)
- ECHILD (1)
- EEXIST (1)
- EFBIG (1)
- EHWPOISON (1)
- EIDRM (1)
- EILSEQ (1)
- EINPROGRESS (1)
- EINTR (1)
- EINVAL (1)
- EIO (1)
- EIPSEC (1)
- EISCONN (1)
- EISDIR (1)
- EISNAM (1)
- EKEYEXPIRED (1)
- ELIBACC (1)
- ELIBBAD (1)
- ELIBEXEC (1)
- ELIBMAX (1)
- ELIBSCN (1)
- EMEDIUMTYPE (1)
- EMFILE (1)
- EMLINK (1)
- EMSGSIZE (1)
- EMULTIHOP (1)
- ENAVAIL (1)
- ENFILE (1)
- ENOCSI (1)
- ENOLINK (1)
- ENOMEDIUM (1)
- ENOTDIR (1)
- ENOTUNIQ (1)
- ENXIO (1)
- EOFError (1)
- EPIPE (1)
- EPROCLIM (1)
- EPROCUNAVAIL (1)
- EPROGMISMATCH (1)
- EPROGUNAVAIL (1)
- ERBHandler (1)
- EREMOTEIO (1)
- ERFKILL (1)
- ERPCMISMATCH (1)
- ESPIPE (1)
- ESTRPIPE (1)
- ETIME (1)
- ETIMEDOUT (1)
- EarlyTime (1)
- EigenvalueDecomposition (1)
- Emitter (1)
- EmptyInvocationChain (1)
- Enclosure (3)
- EnclosureBase (1)
- Encoding (1)
- EncodingError (1)
- EndOfYAMLException (1)
- Engine (1)
- EngineError (1)
- Entity (1)
- Envelope (1)
- EnvironmentCommand (1)
- EratosthenesGenerator (1)
- ErrDimensionMismatch (1)
- ErrNotRegular (1)
- ErrOperationNotDefined (1)
- Error (9)
- Exception (4)
- ExpectationFailed (1)
- ExtConfBuilder (1)
- Extension (1)
- ExtensionBuildError (1)
- ExtensionError (1)
- ExtensionFactory (1)
- ExternalEntity (1)
- FTP (1)
- FTPConnectionError (1)
- FetchData (1)
- Fiber (1)
- FiberError (1)
- FieldInfo (1)
- File (1)
- FileCreationTask (1)
- FileHandler (1)
- FileInputMethod (1)
- FileList (2)
- FileOperations (1)
- FileOverflow (1)
- FilePermissionError (1)
- FileStore (1)
- FileTask (1)
- Filter (1)
- Fixnum (1)
- FlagCountError (1)
- FloatDomainError (1)
- Forbidden (1)
- Foreground (1)
- FormData (1)
- FormatException (1)
- Found (1)
- Frame (1)
- Function (1)
- GWIdConv (1)
- GatewayTimeout (1)
- GemNotFoundException (1)
- GemNotInHomeException (1)
- GeneralString (1)
- GeneralizedTime (1)
- GenerateIndexCommand (1)
- Generator23 (1)
- Generic (2)
- GenericServer (1)
- Gone (1)
- GraphicString (1)
- Guid (3)
- GuidBase (1)
- GzipFile (1)
- GzipReader (1)
- GzipWriter (1)
- HINFO (2)
- HTTP (1)
- HTTPClientError (1)
- HTTPClientException (1)
- HTTPConflict (1)
- HTTPContinue (1)
- HTTPEarlyHints (1)
- HTTPError (1)
- HTTPExpectationFailed (1)
- HTTPFailedDependency (1)
- HTTPForbidden (1)
- HTTPGatewayTimeOut (1)
- HTTPGatewayTimeout (1)
- HTTPGenericRequest (1)
- HTTPIMUsed (1)
- HTTPInformation (1)
- HTTPInsufficientStorage (1)
- HTTPInternalServerError (1)
- HTTPLengthRequired (1)
- HTTPMisdirectedRequest (1)
- HTTPMovedTemporarily (1)
- HTTPMultiStatus (1)
- HTTPMultipleChoice (1)
- HTTPMultipleChoices (1)
- HTTPNetworkAuthenticationRequired (1)
- HTTPNonAuthoritativeInformation (1)
- HTTPNotImplemented (1)
- HTTPNotModified (1)
- HTTPPartialContent (1)
- HTTPPaymentRequired (1)
- HTTPPermanentRedirect (1)
- HTTPPreconditionFailed (1)
- HTTPPreconditionRequired (1)
- HTTPProcessing (1)
- HTTPProxyAuthenticationRequired (1)
- HTTPProxyServer (1)
- HTTPRangeNotSatisfiable (1)
- HTTPRedirection (1)
- HTTPRequest (1)
- HTTPRequestEntityTooLarge (1)
- HTTPRequestHeaderFieldsTooLarge (1)
- HTTPRequestTimeOut (1)
- HTTPRequestTimeout (1)
- HTTPRequestURITooLarge (1)
- HTTPRequestURITooLong (1)
- HTTPRequestedRangeNotSatisfiable (1)
- HTTPResponse (1)
- HTTPRetriableError (1)
- HTTPS (1)
- HTTPServer (1)
- HTTPServerError (1)
- HTTPServerException (1)
- HTTPServiceUnavailable (1)
- HTTPServletError (1)
- HTTPSession (1)
- HTTPSwitchProtocol (1)
- HTTPTemporaryRedirect (1)
- HTTPURITooLong (1)
- HTTPUnavailableForLegalReasons (1)
- HTTPUnprocessableEntity (1)
- HTTPUnsupportedMediaType (1)
- HTTPUpgradeRequired (1)
- HTTPVariantAlsoNegotiates (1)
- HTTPVersion (1)
- HTTPVersionNotSupported (2)
- Handle (1)
- Help (1)
- Hour (2)
- HourBase (1)
- Htdigest (1)
- Htgroup (1)
- Htpasswd (1)
- IA5String (1)
- IDEA (1)
- IMAP (1)
- IO (1)
- IOError (1)
- IOSource (1)
- IPAddr (1)
- IPSocket (1)
- IPv4 (1)
- IPv6 (1)
- ISO64String (1)
- Ifaddr (1)
- Image (6)
- ImageBase (1)
- ImageFavicon (2)
- ImageItem (1)
- Include (1)
- IndexError (1)
- Indexer (1)
- Inflate (1)
- Info (1)
- InputMethod (1)
- Inspector (1)
- InstallCommand (1)
- InstallError (1)
- Installer (1)
- Instruction (1)
- InstructionSequence (1)
- Integer (2)
- InternalServerError (1)
- Interrupt (1)
- InvalidArgument (1)
- InvalidByteSequenceError (1)
- InvalidComponentError (1)
- InvalidEncoding (1)
- InvalidHashTupleKey (1)
- InvalidOption (2)
- InvalidRSSError (1)
- InvalidSpecificationException (1)
- InvalidURIError (1)
- InvocationChain (1)
- Irb (1)
- IrbCommand (1)
- Item (5)
- ItemBase (1)
- Items (4)
- ItemsBase (1)
- Jobs (1)
- JsonIndex (1)
- Kill (1)
- LDAP (1)
- LDAPS (1)
- LUPDecomposition (1)
- LengthError (1)
- LengthRequired (1)
- Lexer (1)
- ListCommand (1)
- Load (1)
- LoadAbort (1)
- Location (1)
- Log (1)
- LogDevice (1)
- MD2 (1)
- MD4 (1)
- MD5 (2)
- MDC2 (1)
- MINFO (2)
- MX (1)
- MailTo (1)
- MailboxACLItem (1)
- MailboxList (1)
- MailboxQuota (1)
- MailboxQuotaRoot (1)
- MakefileLoader (1)
- Mapping (1)
- Matrix (1)
- MemError (1)
- MemoryStore (1)
- MethodNotAllowed (1)
- MirrorCommand (1)
- MissingArgument (2)
- MissingAttributeError (1)
- MissingTagError (1)
- MissingUnicodeSupport (1)
- Monitor (1)
- MountTable (1)
- MovedPermanently (1)
- MultiTask (1)
- MultipleChoices (1)
- NS (1)
- NeedDict (1)
- NeedlessArgument (1)
- NestingError (1)
- NilClass (1)
- NoContent (1)
- NoMatchingPatternError (1)
- NoResponseError (1)
- NoSession (1)
- NonAuthoritativeInformation (1)
- NonSeekableIO (1)
- Nop (1)
- NotAcceptable (1)
- NotAvailableValueError (1)
- NotFound (1)
- NotImplemented (1)
- NotImplementedError (1)
- NotModified (1)
- NotValidXMLParser (1)
- NotationDecl (1)
- NullStore (1)
- Numeric (1)
- NumericString (1)
- OK (1)
- ObjectId (1)
- OctetString (1)
- OpenTimeout (1)
- OperationNotSupportedError (1)
- Option (1)
- OptionParser (1)
- Options (2)
- OtherResolvError (1)
- OutputMethod (1)
- OverlappedPrefixError (1)
- POPAuthenticationError (1)
- POPMail (1)
- POPSession (1)
- PStore (1)
- PTR (1)
- ParseError (1)
- ParseException (1)
- PartialContent (1)
- PaymentRequired (1)
- Point (1)
- Pointer (1)
- Policy (1)
- PopWorkspace (1)
- PreconditionFailed (1)
- PredefinedKey (1)
- PrettyPrint (1)
- Prime (1)
- Primitive (1)
- PrintableString (1)
- PristineCommand (1)
- ProcHandler (1)
- Propfind (1)
- ProtoRetriableError (1)
- ProxyAuthenticationRequired (1)
- ProxyBasicAuth (1)
- ProxyDigestAuth (1)
- PseudoPrimeGenerator (1)
- PushWorkspace (1)
- RC2 (1)
- RC4 (1)
- RC5 (1)
- RI (1)
- RIPEMD160 (1)
- RMD160 (1)
- RakeBuilder (1)
- Range (1)
- Rational (1)
- ReadTimeout (1)
- ReadlineInputMethod (1)
- RecipientInfo (1)
- Redirect (1)
- Registry (1)
- RemoteInstallationCancelled (1)
- RemoteInstallationSkipped (1)
- RemoteSourceException (1)
- RequestCanceledError (1)
- RequestEntityTooLarge (1)
- RequestExpiredError (1)
- RequestRangeNotSatisfiable (1)
- RequestTimeout (1)
- RequestURITooLarge (1)
- Require (2)
- Requirement (2)
- ResetContent (1)
- Resolv (1)
- ResponseCode (1)
- ResponseError (1)
- ResponseParseError (1)
- ResponseText (1)
- RestrictedStream (1)
- RindaError (1)
- Ripper (1)
- RuleRecursionOverflowError (1)
- RuntimeError (1)
- SHA (1)
- SHA1 (2)
- SHA2 (1)
- SHA224 (1)
- SHA256 (2)
- SHA384 (2)
- SHA512 (2)
- SMTPAuthenticationError (1)
- SMTPSession (1)
- SOA (1)
- SPKI (1)
- SPKIError (1)
- SRV (1)
- ScriptError (1)
- Section (1)
- SecurityError (1)
- SeeOther (1)
- Sequence (1)
- ServerError (2)
- ServiceUnavailable (1)
- Session (2)
- SessionError (1)
- ShiftingError (1)
- SignalException (1)
- Signer (2)
- SignerInfo (1)
- SilentProgressReporter (1)
- SilentUI (1)
- Simple (1)
- SimpleDelegator (1)
- SimpleProgressReporter (1)
- SimpleRenewer (1)
- SimpleServer (1)
- SingleClass (1)
- SizedQueue (2)
- SkipDays (3)
- SkipDaysBase (1)
- SkipHours (3)
- SkipHoursBase (1)
- Source (4)
- SourceBase (1)
- SourceIndex (1)
- SourceInfoCache (1)
- SourceInfoCacheEntry (1)
- Specification (1)
- SpecificationCommand (1)
- Stat (1)
- Status (2)
- StatusData (1)
- StdioInputMethod (1)
- StdioOutputMethod (1)
- StopIteration (1)
- StreamEnd (1)
- StreamError (1)
- StreamUI (1)
- String (1)
- StringIO (1)
- StringScanner (1)
- Success (1)
- SwitchingProtocols (1)
- SystemExit (1)
- SystemExitException (1)
- T61String (1)
- TXT (1)
- TaggedResponse (1)
- TarInput (1)
- TarWriter (1)
- TaskLib (1)
- TaxonomyTopic (1)
- TaxonomyTopics (1)
- TempIO (1)
- Tempfile (1)
- Template (1)
- TemporaryRedirect (1)
- TextInput (1)
- Textinput (5)
- TextinputBase (1)
- ThreadMember (1)
- Time (1)
- TimeoutError (1)
- TimerIdConv (1)
- ToAnsi (1)
- TooLongFileName (1)
- TracePoint (1)
- TrackBackPing (2)
- Transitive (1)
- TreeBuilder (1)
- TrialDivisionGenerator (1)
- Tuple (1)
- TupleEntry (1)
- TupleSpace (1)
- TupleSpaceProxy (1)
- UNIXServer (1)
- UNIXSocket (1)
- UTCTime (1)
- UTF8String (1)
- UltraLightParser (1)
- UndefinedConversionError (1)
- UndefinedNamespaceException (1)
- UninstallCommand (1)
- Uninstaller (1)
- UniversalString (1)
- UnknownConversionMethodError (1)
- UnsupportedMediaType (1)
- UntaggedResponse (1)
- UseProxy (1)
- Validator (1)
- VerboseProgressReporter (1)
- VerificationError (1)
- Version (1)
- VersionError (1)
- VideotexString (1)
- Visitor (1)
- Visitors (1)
- WIN32OLE (1)
- WIN32OLERuntimeError (1)
-
WIN32OLE
_ EVENT (1) -
WIN32OLE
_ METHOD (1) -
WIN32OLE
_ PARAM (1) -
WIN32OLE
_ TYPE (1) -
WIN32OLE
_ TYPELIB (1) -
WIN32OLE
_ VARIABLE (1) -
WIN32OLE
_ VARIANT (1) - WKS (1)
- WhichCommand (1)
- WorkSpace (1)
- Workspaces (1)
- WriteTimeout (1)
- YAMLTree (1)
- Yielder (1)
- ZStream (1)
- ZeroDivisionError (1)
- fatal (1)
検索結果
先頭5件
-
Gem
:: VerificationError (18004.0) -
Gem の検証でエラーになった場合に使用する例外です。
Gem の検証でエラーになった場合に使用する例外です。 -
Gem
:: Version (18004.0) -
文字列で表現されたバージョンを比較可能 (Comparable) にするためのクラスです。
文字列で表現されたバージョンを比較可能 (Comparable) にするためのクラスです。
バージョンを文字列で表したとき、単純に String#<=> で比較すると、
"1.9" のほうが "1.10" よりも大きい(バージョンが高い)ことになってしまい、
正しく判定できません。
Gem::Version はこの問題を解決します。
//emlist[文字列での比較と Gem::Version での比較][ruby]{
p "1.9" < "1.10" # => false
p Gem::Version.new("1.9") < Gem::Version.new("1.10") # => ... -
Gem
:: Version :: Requirement (18004.0) -
Alias of Gem::Requirement
Alias of Gem::Requirement -
GetoptLong
:: AmbiguousOption (18004.0) -
与えられたオプションは名前の後方が省略されていると思われるが、一意に決まらない 場合に発生する例外です。
与えられたオプションは名前の後方が省略されていると思われるが、一意に決まらない
場合に発生する例外です。 -
GetoptLong
:: InvalidOption (18004.0) -
知らないオプションが与えられた場合に発生する例外です。
知らないオプションが与えられた場合に発生する例外です。 -
GetoptLong
:: MissingArgument (18004.0) -
与えられたオプションに引数が欠けている場合に発生する例外です。
与えられたオプションに引数が欠けている場合に発生する例外です。 -
HTTPSession (18004.0)
-
Alias of Net::HTTP
Alias of Net::HTTP -
IO (18004.0)
-
基本的な入出力機能のためのクラスです。
基本的な入出力機能のためのクラスです。
File::Constants は、File から IO へ移動しました。
===[a:m17n] 多言語化と IO のエンコーディング
IO オブジェクトはエンコーディングを持ちます。
エンコーディングの影響を受けるメソッドと受けないメソッドがあります。
影響を受けるメソッドでは、IO のエンコーディングに従い読み込まれた文字列のエンコーディングが決定されます。
また IO のエンコーディングを適切に設定することにより、読み込み時・書き込み時に文字列のエンコーディングを
変換させることもできます。
==== エンコーディングの影響を受けるメ... -
IOError (18004.0)
-
入出力でエラーが起きると発生します。
入出力でエラーが起きると発生します。 -
IPAddr (18004.0)
-
IP アドレスを扱うのためのクラスです。
IP アドレスを扱うのためのクラスです。
例:
require 'ipaddr'
ipaddr1 = IPAddr.new("3ffe:505:2::1")
p ipaddr1 # => #<IPAddr: IPv6:3ffe:0505:0002:0000:0000:0000:0000:0001/ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff>
ipaddr3 = IPAddr.new("192.168.2.0/24")
p ipaddr3 # => #<IPAddr: IPv4:192.168.2.0/255.255... -
IPSocket (18004.0)
-
インターネットドメインソケットの抽象クラス。
インターネットドメインソケットの抽象クラス。
通常の IO クラスのサブクラスと同様の入出力ができます。 -
IRB
:: ExtendCommand :: CurrentWorkingWorkspace (18004.0) -
irb 中の irb_current_working_workspace コマンドのための拡張を定義したク ラスです。
irb 中の irb_current_working_workspace コマンドのための拡張を定義したク
ラスです。 -
IRB
:: ExtendCommand :: Kill (18004.0) -
irb 中の irb_kill コマンドのための拡張を定義したクラスです。
irb 中の irb_kill コマンドのための拡張を定義したクラスです。 -
IRB
:: FileInputMethod (18004.0) -
ファイルからの入力を表すクラスです。ライブラリ内部で使用します。
ファイルからの入力を表すクラスです。ライブラリ内部で使用します。 -
IRB
:: InputMethod (18004.0) -
抽象的な入力を表すクラスです。ライブラリ内部で使用します。
抽象的な入力を表すクラスです。ライブラリ内部で使用します。 -
IRB
:: Inspector (18004.0) -
実行結果の出力を行うためのクラスです。
実行結果の出力を行うためのクラスです。 -
IRB
:: StdioInputMethod (18004.0) -
標準入力を表すクラスです。ライブラリ内部で使用します。
標準入力を表すクラスです。ライブラリ内部で使用します。 -
IRB
:: StdioOutputMethod (18004.0) -
標準出力を表すクラスです。ライブラリ内部で使用します。
標準出力を表すクラスです。ライブラリ内部で使用します。 -
IndexError (18004.0)
-
添字が範囲外のときに発生します。
添字が範囲外のときに発生します。 -
Integer (18004.0)
-
整数クラスです。
整数クラスです。
整数オブジェクトに特異メソッドを追加する事はできません。追加した場合、
TypeError が発生します。
2.4.0 から Fixnum, Bignum は Integerに統合されました。
2.4.0 からはどちらも Integer クラスのエイリアスとなっています。 -
Interrupt (18004.0)
-
SIGINT シグナルを捕捉していないときに SIGINT シグナルを受け取ると発生します。 SIGINT 以外のシグナルを受信したときに発生する例外については SignalException を参照してください。
SIGINT シグナルを捕捉していないときに
SIGINT シグナルを受け取ると発生します。
SIGINT 以外のシグナルを受信したときに発生する例外については
SignalException を参照してください。
使用例
=begin
#SIGINTを捕捉したい場合
Signal.trap('INT'){
print "\nINTを捕捉した。\n"
exit 1
}
=end
begin
begin
print "z"
$stdout.flush
sleep(1)
end while true
... -
JSON
:: CircularDatastructure (18004.0) -
JSON 形式の文字列を生成するときに循環するデータ構造があるときに発生する例外です。
JSON 形式の文字列を生成するときに循環するデータ構造があるときに発生する例外です。 -
JSON
:: MissingUnicodeSupport (18004.0) -
要求されたユニコードサポートがシステムにインストールされていない場合に発生する例外です。 通常、これは iconv がインストールされていないことを意味します。
要求されたユニコードサポートがシステムにインストールされていない場合に発生する例外です。
通常、これは iconv がインストールされていないことを意味します。 -
JSON
:: NestingError (18004.0) -
パースしようとしているデータ構造のネストが深すぎる場合に発生する例外です。
パースしようとしているデータ構造のネストが深すぎる場合に発生する例外です。 -
Logger
:: LogDevice (18004.0) -
Logger の内部で使用するログの出力先を表すクラスです。
Logger の内部で使用するログの出力先を表すクラスです。 -
Logger
:: ShiftingError (18004.0) -
ログファイルの切り替えに失敗した場合に発生する例外です。
ログファイルの切り替えに失敗した場合に発生する例外です。 -
Math
:: DomainError (18004.0) -
数学関数(module Math のモジュール関数)で与えた引数が定義域 に含まれていない場合に発生します。
数学関数(module Math のモジュール関数)で与えた引数が定義域
に含まれていない場合に発生します。 -
Matrix
:: EigenvalueDecomposition (18004.0) -
行列の固有分解の情報を保持するクラスです。
行列の固有分解の情報を保持するクラスです。
Matrix#eigensystem の返り値のクラスです。 -
Matrix
:: LUPDecomposition (18004.0) -
行列のLUP分解の情報を保持するクラスです。
行列のLUP分解の情報を保持するクラスです。
Matrix#lup_decomposition の返り値のクラスです。 -
Monitor (18004.0)
-
スレッドの同期機構としてのモニター機能を提供するクラスです。 また同じスレッドから何度も lock できる Mutex としての機能も提供します。
スレッドの同期機構としてのモニター機能を提供するクラスです。
また同じスレッドから何度も lock できる Mutex としての機能も提供します。
MonitorMixin を include し、いくつかの別名を定義したクラスです。
=== 例
//emlist[消費者、生産者問題の例][ruby]{
require 'monitor'
buf = []
mon = Monitor.new
empty_cond = mon.new_cond
# consumer
Thread.start do
loop do
mon.synchronize do
empty... -
Net
:: APOPSession (18004.0) -
Alias of Net::APOP
Alias of Net::APOP -
Net
:: FTPConnectionError (18004.0) -
コネクションを確立する前に通信しようとした場合に 発生する例外のクラスです。
コネクションを確立する前に通信しようとした場合に
発生する例外のクラスです。 -
Net
:: HTTP :: Options (18004.0) -
HTTP の OPTIONS リクエストを表すクラスです。
HTTP の OPTIONS リクエストを表すクラスです。 -
Net
:: HTTP :: Propfind (18004.0) -
HTTP の PROPFIND リクエストを表すクラスです。
HTTP の PROPFIND リクエストを表すクラスです。 -
Net
:: HTTPClientError (18004.0) -
HTTP レスポンス 4xx (Client Error) を表現するクラスです。
HTTP レスポンス 4xx (Client Error) を表現するクラスです。
リクエスト構文が間違っているなど、クライアントが間違って
いることを表しています。 -
Net
:: HTTPClientException (18004.0) -
Alias of Net::HTTPServerException
Alias of Net::HTTPServerException -
Net
:: HTTPConflict (18004.0) -
HTTP レスポンス 409 (Conflict) を表現するクラスです。
HTTP レスポンス 409 (Conflict) を表現するクラスです。
詳しくは 7231 Section 6.5.8 を見てください。 -
Net
:: HTTPContinue (18004.0) -
HTTP レスポンス 100 (Continue) を表現するクラスです。
HTTP レスポンス 100 (Continue) を表現するクラスです。
詳しくは 7231 Section 6.2.1 を見てください。 -
Net
:: HTTPEarlyHints (18004.0) -
HTTP レスポンス 103 (Early Hints) を表現するクラスです。
HTTP レスポンス 103 (Early Hints) を表現するクラスです。
詳しくは 8297 を見てください。 -
Net
:: HTTPExpectationFailed (18004.0) -
HTTP レスポンス 417 (Expectation Failed) を表現するクラスです。
HTTP レスポンス 417 (Expectation Failed) を表現するクラスです。
詳しくは 7231 Section 6.5.14 を見てください。 -
Net
:: HTTPFailedDependency (18004.0) -
HTTP レスポンス 424 (Failed Dependency) を表現するクラスです。
HTTP レスポンス 424 (Failed Dependency) を表現するクラスです。
詳しくは 4918 を見てください。 -
Net
:: HTTPForbidden (18004.0) -
HTTP レスポンス 403 (Forbidden) を表現するクラスです。
HTTP レスポンス 403 (Forbidden) を表現するクラスです。
詳しくは 7231 Section 6.5.3 を見てください。 -
Net
:: HTTPGatewayTimeOut (18004.0) -
Alias of Net::HTTPGatewayTimeout
Alias of Net::HTTPGatewayTimeout -
Net
:: HTTPGatewayTimeout (18004.0) -
HTTP レスポンス 504 (Gateway Timeout) を表現するクラスです。
HTTP レスポンス 504 (Gateway Timeout) を表現するクラスです。
詳しくは 7231 Section 6.6.5 を見てください。 -
Net
:: HTTPGenericRequest (18004.0) -
Net::HTTPRequest のスーパークラスです。 このクラスは直接は使わないでください。
Net::HTTPRequest のスーパークラスです。
このクラスは直接は使わないでください。
Net::HTTPRequest のサブクラスを使ってください。 -
Net
:: HTTPIMUsed (18004.0) -
HTTP レスポンス 226 (IM Used) を表現するクラスです。
HTTP レスポンス 226 (IM Used) を表現するクラスです。
詳しくは 3229 を見てください。 -
Net
:: HTTPInformation (18004.0) -
HTTP レスポンス 1xx (Informational) を表現するクラスです。
HTTP レスポンス 1xx (Informational) を表現するクラスです。
リクエストが正常に受信し、処理を続けていることを表わして
います。 -
Net
:: HTTPInsufficientStorage (18004.0) -
HTTP レスポンス 507 (Insufficient Storage) を表現するクラスです。
HTTP レスポンス 507 (Insufficient Storage) を表現するクラスです。
詳しくは 4918 を見てください。 -
Net
:: HTTPInternalServerError (18004.0) -
HTTP レスポンス 500 (Internal Server Error) を表現するクラスです。
HTTP レスポンス 500 (Internal Server Error) を表現するクラスです。
詳しくは 7231 Section 6.6.1 を見てください。 -
Net
:: HTTPLengthRequired (18004.0) -
HTTP レスポンス 411 (Length Required) を表現するクラスです。
HTTP レスポンス 411 (Length Required) を表現するクラスです。
詳しくは 7231 Section 6.5.10 を見てください。 -
Net
:: HTTPMisdirectedRequest (18004.0) -
HTTP レスポンス 421 (Misdirected Request) を表現するクラスです。
HTTP レスポンス 421 (Misdirected Request) を表現するクラスです。
詳しくは 7540 Section 9.1.2 を見てください。 -
Net
:: HTTPMovedTemporarily (18004.0) -
Alias of Net::HTTPFound
Alias of Net::HTTPFound -
Net
:: HTTPMultiStatus (18004.0) -
HTTP レスポンス 207 (Multi-Status) を表現するクラスです。
HTTP レスポンス 207 (Multi-Status) を表現するクラスです。
詳しくは 4918 を見てください。 -
Net
:: HTTPMultipleChoice (18004.0) -
Alias of Net::HTTPMultipleChoices
Alias of Net::HTTPMultipleChoices -
Net
:: HTTPMultipleChoices (18004.0) -
HTTP レスポンス 300 (Multiple Choices) を表現するクラスです。
HTTP レスポンス 300 (Multiple Choices) を表現するクラスです。
詳しくは 7231 Section 6.4.1 を見てください。 -
Net
:: HTTPNetworkAuthenticationRequired (18004.0) -
HTTP レスポンス 511 (Network Authentication Required) を表現するクラスです。
HTTP レスポンス 511 (Network Authentication Required) を表現するクラスです。
詳しくは 6585 を見てください。 -
Net
:: HTTPNonAuthoritativeInformation (18004.0) -
HTTP レスポンス 203 (Non-Authoritative Information) を表現するクラスです。
HTTP レスポンス 203 (Non-Authoritative Information) を表現するクラスです。
詳しくは 7231 Section 6.3.4 を見てください。 -
Net
:: HTTPNotImplemented (18004.0) -
HTTP レスポンス 501 (Not Implemented) を表現するクラスです。
HTTP レスポンス 501 (Not Implemented) を表現するクラスです。
詳しくは 7231 Section 6.6.2 を見てください。 -
Net
:: HTTPNotModified (18004.0) -
HTTP レスポンス 304 (Not Modified) を表現するクラスです。
HTTP レスポンス 304 (Not Modified) を表現するクラスです。
詳しくは 7232 Section 4.1 を見てください。 -
Net
:: HTTPPartialContent (18004.0) -
HTTP レスポンス 206 (Partial Content) を表現するクラスです。
HTTP レスポンス 206 (Partial Content) を表現するクラスです。
詳しくは 7233 Section 4.1 を見てください。 -
Net
:: HTTPPaymentRequired (18004.0) -
HTTP レスポンス 402 (Payment Required) を表現するクラスです。
HTTP レスポンス 402 (Payment Required) を表現するクラスです。
詳しくは 7231 Section 6.5.2 を見てください。 -
Net
:: HTTPPermanentRedirect (18004.0) -
HTTP レスポンス 308 (Permanent Redirect) を表現するクラスです。
HTTP レスポンス 308 (Permanent Redirect) を表現するクラスです。
詳しくは 7538 を見てください。 -
Net
:: HTTPPreconditionFailed (18004.0) -
HTTP レスポンス 412 (Precondition Failed) を表現するクラスです。
HTTP レスポンス 412 (Precondition Failed) を表現するクラスです。
詳しくは 7232 Section 4.2, 8144 Section 3.2 を見てください。 -
Net
:: HTTPPreconditionRequired (18004.0) -
HTTP レスポンス 428 (Precondition Required) を表現するクラスです。
HTTP レスポンス 428 (Precondition Required) を表現するクラスです。
詳しくは 6585 を見てください。 -
Net
:: HTTPProcessing (18004.0) -
HTTP レスポンス 102 (Processing) を表現するクラスです。
HTTP レスポンス 102 (Processing) を表現するクラスです。
詳しくは 2518 を見てください。 -
Net
:: HTTPProxyAuthenticationRequired (18004.0) -
HTTP レスポンス 407 (Proxy Authentication Required) を表現するクラスです。
HTTP レスポンス 407 (Proxy Authentication Required) を表現するクラスです。
詳しくは 7235 Section 3.2 を見てください。 -
Net
:: HTTPRangeNotSatisfiable (18004.0) -
HTTP レスポンス 416 (Range Not Satisfiable) を表現するクラスです。
HTTP レスポンス 416 (Range Not Satisfiable) を表現するクラスです。
詳しくは 7233 Section 4.4 を見てください。 -
Net
:: HTTPRedirection (18004.0) -
HTTP レスポンス 3xx (Redirection) を表現するクラスです。
HTTP レスポンス 3xx (Redirection) を表現するクラスです。
リクエストが正常に受信しましたが、処理を完了するためには
さらなる動作が必要なことを表します。 -
Net
:: HTTPRequestEntityTooLarge (18004.0) -
Alias of Net::HTTPPayloadTooLarge
Alias of Net::HTTPPayloadTooLarge -
Net
:: HTTPRequestHeaderFieldsTooLarge (18004.0) -
HTTP レスポンス 431 (Request Header Fields Too Large) を表現するクラスです。
HTTP レスポンス 431 (Request Header Fields Too Large) を表現するクラスです。
詳しくは 6585 を見てください。 -
Net
:: HTTPRequestTimeOut (18004.0) -
Alias of Net::HTTPRequestTimeout
Alias of Net::HTTPRequestTimeout -
Net
:: HTTPRequestTimeout (18004.0) -
HTTP レスポンス 408 (Request Timeout) を表現するクラスです。
HTTP レスポンス 408 (Request Timeout) を表現するクラスです。
詳しくは 7231 Section 6.5.7 を見てください。 -
Net
:: HTTPRequestURITooLarge (18004.0) -
Alias of Net::HTTPURITooLong
Alias of Net::HTTPURITooLong -
Net
:: HTTPRequestURITooLong (18004.0) -
Alias of Net::HTTPURITooLong
Alias of Net::HTTPURITooLong -
Net
:: HTTPRequestedRangeNotSatisfiable (18004.0) -
Alias of Net::HTTPRangeNotSatisfiable
Alias of Net::HTTPRangeNotSatisfiable -
Net
:: HTTPRetriableError (18004.0) -
HTTP ステータスコード 3xx を受け取ったという例外です。
HTTP ステータスコード 3xx を受け取ったという例外です。
リソースが移動したなどの理由により、リクエストを完了させるには更な
るアクションが必要になります。 -
Net
:: HTTPServerException (18004.0) -
HTTP ステータスコード 4xx を受け取ったという例外です。
HTTP ステータスコード 4xx を受け取ったという例外です。
クライアントのリクエストに誤りがあるか、サーバにリクエストを拒否さ
れた(認証が必要、リソースが存在しないなどで)ことを示します。
Net::HTTPServerException は Ruby 2.6 から deprecated になりました。
Net::HTTPClientException を使用してください。 -
Net
:: HTTPServiceUnavailable (18004.0) -
HTTP レスポンス 503 (Service Unavailable) を表現するクラスです。
HTTP レスポンス 503 (Service Unavailable) を表現するクラスです。
詳しくは 7231 Section 6.6.4 を見てください。 -
Net
:: HTTPSwitchProtocol (18004.0) -
HTTP レスポンス 101 (Switching Protocols) を表現するクラスです。
HTTP レスポンス 101 (Switching Protocols) を表現するクラスです。
詳しくは 7231 Section 6.2.2 を見てください。 -
Net
:: HTTPTemporaryRedirect (18004.0) -
HTTP レスポンス 307 (Temporary Redirect) を表現するクラスです。
HTTP レスポンス 307 (Temporary Redirect) を表現するクラスです。
詳しくは 7231 Section 6.4.7 を見てください。 -
Net
:: HTTPURITooLong (18004.0) -
HTTP レスポンス 414 (URI Too Large) を表現するクラスです。
HTTP レスポンス 414 (URI Too Large) を表現するクラスです。
詳しくは 7231 Section 6.5.12 を見てください。 -
Net
:: HTTPUnauthorized (18004.0) -
HTTP レスポンス 401 (Unauthorized) を表現するクラスです。
HTTP レスポンス 401 (Unauthorized) を表現するクラスです。
詳しくは 7235 Section 3.1 を見てください。 -
Net
:: HTTPUnavailableForLegalReasons (18004.0) -
HTTP レスポンス 451 (Unavailable For Legal Reasons) を表現するクラスです。
HTTP レスポンス 451 (Unavailable For Legal Reasons) を表現するクラスです。
詳しくは 7725 を見てください。 -
Net
:: HTTPUnprocessableEntity (18004.0) -
HTTP レスポンス 422 (Unprocessable Entity) を表現するクラスです。
HTTP レスポンス 422 (Unprocessable Entity) を表現するクラスです。
詳しくは 4918 を見てください。 -
Net
:: HTTPUnsupportedMediaType (18004.0) -
HTTP レスポンス 415 (Unsupported Media Type) を表現するクラスです。
HTTP レスポンス 415 (Unsupported Media Type) を表現するクラスです。
詳しくは 7231 Section 6.5.13, 7694 Section 3 を見てください。 -
Net
:: HTTPUpgradeRequired (18004.0) -
HTTP レスポンス 426 (Upgrade Required) を表現するクラスです。
HTTP レスポンス 426 (Upgrade Required) を表現するクラスです。
詳しくは 7231 Section 6.5.15 を見てください。 -
Net
:: HTTPVersionNotSupported (18004.0) -
HTTP レスポンス 505 (HTTP Version not supported) を表現するクラスです。
HTTP レスポンス 505 (HTTP Version not supported) を表現するクラスです。
詳しくは 7231 Section 6.6.6 を見てください。 -
Net
:: IMAP (18004.0) -
IMAP 接続を表現するクラスです。
IMAP 接続を表現するクラスです。 -
Net
:: IMAP :: BodyTypeBasic (18004.0) -
text 型(Net::IMAP::BodyTypeText)、 multipart 型(Net::IMAP::BodyTypeMultipart)、 message 型(Net::IMAP::BodyTypeMessage)、 のいずれでもないようなメッセージボディ構造を表すクラスです。
text 型(Net::IMAP::BodyTypeText)、
multipart 型(Net::IMAP::BodyTypeMultipart)、
message 型(Net::IMAP::BodyTypeMessage)、
のいずれでもないようなメッセージボディ構造を表すクラスです。
添付ファイルなどを表します。
詳しくは MIME のRFC(2045)を参照してください。 -
Net
:: IMAP :: BodyTypeMultipart (18004.0) -
マルチパートなメッセージを表すクラスです。
マルチパートなメッセージを表すクラスです。
詳しくは MIME のRFC(2045)を参照してください。 -
Net
:: IMAP :: ContentDisposition (18004.0) -
1806, 2183 で定義されている MIME の Content-Disposition フィールドを表すクラスです。
1806, 2183 で定義されている MIME の
Content-Disposition フィールドを表すクラスです。 -
Net
:: IMAP :: ContinuationRequest (18004.0) -
IMAP の continuation request (命令継続要求) を表すクラスです。
IMAP の continuation request (命令継続要求) を表すクラスです。
通常このクラスを直接扱うことはありません。
レスポンスハンドラ(Net::IMAP#add_response_handler)
に渡されます。
詳しくは 2060 の 7.5 を参照してください。 -
Net
:: IMAP :: MailboxACLItem (18004.0) -
GETACL の応答の各要素を表すクラスです。
GETACL の応答の各要素を表すクラスです。
Net::IMAP#getacl の返り値として用いられます。
詳しくは 2086 を参照してください。 -
Net
:: IMAP :: MailboxList (18004.0) -
Net::IMAP#list、Net::IMAP#xlist、Net::IMAP#lsub で返されるメールボックスのデータを表します。
Net::IMAP#list、Net::IMAP#xlist、Net::IMAP#lsub
で返されるメールボックスのデータを表します。 -
Net
:: IMAP :: MailboxQuota (18004.0) -
Net::IMAP#getquota や Net::IMAP#getquotaroot で得られる quota の情報を表すオブジェクトです。
Net::IMAP#getquota や Net::IMAP#getquotaroot で得られる
quota の情報を表すオブジェクトです。
詳しくは 2087 を参照してください。 -
Net
:: IMAP :: MailboxQuotaRoot (18004.0) -
Net::IMAP#getquotaroot の結果として得られる quota root 情報を表わすオブジェクトです。
Net::IMAP#getquotaroot の結果として得られる
quota root 情報を表わすオブジェクトです。
詳しくは 2087 を参照してください。 -
Net
:: OpenTimeout (18004.0) -
コネクションを開こうとしたときにタイムアウトしたときに発生する例外です。
コネクションを開こうとしたときにタイムアウトしたときに発生する例外です。
タイムアウトまでの時間は Net::HTTP#open_timeout=、
Net::FTP#open_timeout= などで設定します。 -
Net
:: POPAuthenticationError (18004.0) -
POP3 で認証に失敗したときに発生します。
POP3 で認証に失敗したときに発生します。 -
Net
:: POPMail (18004.0) -
POP サーバー上のメール一通を表現するクラス。
POP サーバー上のメール一通を表現するクラス。
メールの取得や消去といった操作をカプセル化します。
Net::POP3 クラスが生成するもので、ユーザが直接は生成しません。 -
Net
:: POPSession (18004.0) -
Alias of Net::POP3
Alias of Net::POP3