別のキーワード
種類
ライブラリ
- ビルトイン (510)
-
cgi
/ core (1) - csv (110)
- date (10)
- digest (7)
- erb (9)
- fiddle (5)
- fileutils (1)
- forwardable (5)
- json (34)
-
json
/ add / struct (1) - logger (33)
- monitor (8)
-
mutex
_ m (1) -
net
/ http (40) - objspace (3)
- openssl (106)
- optparse (43)
- ostruct (2)
- pathname (25)
- prettyprint (1)
- prime (11)
- pstore (1)
- psych (11)
- rake (28)
-
rake
/ loaders / makefile (1) -
rake
/ packagetask (16) -
rdoc
/ parser / ruby (1) - resolv (1)
- rexml (1)
-
rexml
/ document (84) -
rexml
/ streamlistener (1) - ripper (1)
-
ripper
/ filter (2) -
ripper
/ sexp (2) -
rubygems
/ installer (1) -
rubygems
/ requirement (15) -
rubygems
/ version (10) - socket (3)
- stringio (28)
- strscan (45)
-
syslog
/ logger (1) - uri (1)
-
webrick
/ ssl (1) - win32ole (18)
- zlib (1)
クラス
- Addrinfo (1)
- Array (10)
- BasicObject (13)
- BasicSocket (1)
- Binding (1)
- CGI (1)
- CSV (52)
-
CSV
:: FieldInfo (3) -
CSV
:: Row (23) -
CSV
:: Table (29) - Class (4)
- Data (17)
- Date (8)
- DateTime (1)
-
Digest
:: Base (7) - Dir (7)
- ERB (9)
-
Encoding
:: Converter (20) -
Encoding
:: InvalidByteSequenceError (2) -
Encoding
:: UndefinedConversionError (1) - Enumerator (14)
-
Enumerator
:: Chain (1) -
Enumerator
:: Lazy (1) -
Enumerator
:: Yielder (3) - Exception (4)
- Fiber (9)
-
Fiddle
:: Closure :: BlockCaller (1) -
Fiddle
:: Function (1) -
Fiddle
:: Pointer (1) - File (8)
-
File
:: Stat (40) - FrozenError (2)
-
Gem
:: Installer (1) -
Gem
:: Requirement (15) -
Gem
:: Version (9) - Hash (16)
- IO (24)
- Integer (2)
-
JSON
:: Parser (3) -
JSON
:: State (19) - KeyError (4)
- Logger (32)
-
Logger
:: Formatter (1) - Method (17)
- Module (27)
- Monitor (5)
-
Net
:: HTTP (5) -
Net
:: HTTPGenericRequest (8) - Numeric (1)
- Object (38)
-
ObjectSpace
:: WeakMap (1) -
OpenSSL
:: ASN1 :: BMPString (2) -
OpenSSL
:: ASN1 :: BitString (2) -
OpenSSL
:: ASN1 :: Boolean (2) -
OpenSSL
:: ASN1 :: Enumerated (2) -
OpenSSL
:: ASN1 :: GeneralString (2) -
OpenSSL
:: ASN1 :: GeneralizedTime (2) -
OpenSSL
:: ASN1 :: GraphicString (2) -
OpenSSL
:: ASN1 :: IA5String (2) -
OpenSSL
:: ASN1 :: ISO64String (2) -
OpenSSL
:: ASN1 :: Integer (2) -
OpenSSL
:: ASN1 :: Null (2) -
OpenSSL
:: ASN1 :: NumericString (2) -
OpenSSL
:: ASN1 :: OctetString (2) -
OpenSSL
:: ASN1 :: PrintableString (2) -
OpenSSL
:: ASN1 :: Sequence (2) -
OpenSSL
:: ASN1 :: Set (2) -
OpenSSL
:: ASN1 :: T61String (2) -
OpenSSL
:: ASN1 :: UTCTime (2) -
OpenSSL
:: ASN1 :: UTF8String (2) -
OpenSSL
:: ASN1 :: UniversalString (2) -
OpenSSL
:: ASN1 :: VideotexString (2) -
OpenSSL
:: BN (16) - OpenStruct (2)
- OptionParser (42)
- Pathname (24)
- PrettyPrint (1)
- Prime (3)
-
Prime
:: EratosthenesGenerator (3) -
Prime
:: PseudoPrimeGenerator (4) - Proc (4)
-
Psych
:: ScalarScanner (1) -
Psych
:: Stream (2) -
Psych
:: Visitors :: YAMLTree (1) -
RDoc
:: Parser :: Ruby (1) -
REXML
:: Attribute (3) -
REXML
:: Attributes (13) -
REXML
:: CData (3) -
REXML
:: Child (2) -
REXML
:: DocType (9) -
REXML
:: Document (3) -
REXML
:: Element (23) -
REXML
:: Elements (9) -
REXML
:: Entity (1) -
REXML
:: Instruction (2) -
REXML
:: Text (4) -
REXML
:: XPath (3) -
Rake
:: Application (1) -
Rake
:: DefaultLoader (1) -
Rake
:: FileList (14) -
Rake
:: InvocationChain (4) -
Rake
:: MakefileLoader (1) -
Rake
:: NameSpace (1) -
Rake
:: PackageTask (16) -
Rake
:: TaskArguments (6) - Random (10)
- Range (5)
- Regexp (8)
-
Resolv
:: DNS (1) - Ripper (3)
-
Ripper
:: Filter (1) -
RubyVM
:: InstructionSequence (3) - Set (6)
- SignalException (3)
- Socket (1)
- String (6)
- StringIO (27)
- StringScanner (44)
- Struct (33)
-
Syslog
:: Logger (1) - SystemCallError (1)
- Thread (23)
-
Thread
:: Backtrace :: Location (4) -
Thread
:: ConditionVariable (2) -
Thread
:: Mutex (5) -
Thread
:: Queue (11) -
Thread
:: SizedQueue (6) - ThreadGroup (2)
- Time (7)
- TracePoint (15)
-
URI
:: FTP (1) - UnboundMethod (3)
-
WEBrick
:: GenericServer (1) - WIN32OLE (5)
-
WIN32OLE
_ EVENT (2) -
WIN32OLE
_ METHOD (1) -
WIN32OLE
_ TYPE (2) -
WIN32OLE
_ TYPELIB (1) -
WIN32OLE
_ VARIANT (2)
モジュール
- Enumerable (14)
- FileUtils (1)
- Forwardable (4)
-
GC
:: Profiler (1) - JSON (3)
-
JSON
:: Generator :: GeneratorMethods :: Array (1) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (1) -
JSON
:: Generator :: GeneratorMethods :: Float (1) -
JSON
:: Generator :: GeneratorMethods :: Hash (1) -
JSON
:: Generator :: GeneratorMethods :: Integer (1) -
JSON
:: Generator :: GeneratorMethods :: NilClass (1) -
JSON
:: Generator :: GeneratorMethods :: Object (1) -
JSON
:: Generator :: GeneratorMethods :: String (1) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (1) - Kernel (24)
- Marshal (4)
- MonitorMixin (1)
-
Net
:: HTTPHeader (26) - ObjectSpace (10)
-
OpenSSL
:: ASN1 (45) - Psych (2)
-
REXML
:: StreamListener (1) - Rake (1)
オブジェクト
- ENV (2)
キーワード
- ! (1)
- != (1)
-
$ stdin (1) -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (1) - < (1)
- << (8)
- <=> (7)
- == (15)
- === (6)
- =~ (1)
- >> (1)
- ARGV (1)
- ASN1 (1)
- BMPString (2)
- BasicObject (1)
- BitString (2)
- BlockCaller (1)
- Boolean (2)
- CSV (1)
- Cipher (1)
- Closure (1)
- Comment (1)
- Complex (2)
- ConditionVariable (1)
- Data (1)
-
Data
_ Make _ Struct (1) -
Data
_ Wrap _ Struct (1) - Date (1)
- Default (1)
- EXXX (1)
- Entity (1)
- Enumerated (2)
- Enumerator (1)
- ExternalEntity (1)
- Fiber (1)
- Filter (1)
- Float (1)
- Forwardable (1)
- GeneralString (2)
- GeneralizedTime (2)
- GraphicString (2)
- GzipWriter (1)
- HTTPRequest (1)
- IA5String (2)
- ISO64String (2)
- Instruction (1)
- Integer (3)
- Location (1)
-
MAJOR
_ VERSION (1) -
MINOR
_ VERSION (1) - Marshal フォーマット (1)
- Method (1)
- Monitor (1)
- MonitorMixin (1)
-
Mutex
_ m (1) -
NEWS for Ruby 2
. 0 . 0 (1) -
NEWS for Ruby 2
. 1 . 0 (1) -
NEWS for Ruby 2
. 2 . 0 (1) -
NEWS for Ruby 2
. 3 . 0 (1) -
NEWS for Ruby 2
. 4 . 0 (1) -
NEWS for Ruby 2
. 5 . 0 (1) -
NEWS for Ruby 2
. 6 . 0 (1) -
NEWS for Ruby 2
. 7 . 0 (1) -
NEWS for Ruby 3
. 0 . 0 (1) -
NEWS for Ruby 3
. 1 . 0 (1) - Nodes (1)
- NotationDecl (1)
- Null (2)
- NumericString (2)
- OPS (1)
- ObjectId (2)
- OctetString (2)
- OptionParser (1)
- PStore (1)
- ParseException (1)
- Pathname (1)
- Pretty (1)
- PrintableString (2)
- Proc (1)
- Proxy (1)
- Queue (1)
- Range (1)
- Rational (2)
- Regexp (1)
- Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (1)
- Ruby変更履歴 (1)
- Ruby用語集 (1)
- Sequence (2)
- Set (3)
- SizedQueue (1)
- Stat (1)
- Stream (1)
- String (1)
- StringIO (1)
- StringScanner (1)
- T61String (2)
- Thread (1)
- TracePoint (1)
- Transitive (1)
- TreeBuilder (1)
- UTCTime (2)
- UTF8String (2)
- UnboundMethod (1)
- UndefinedConversionError (1)
- UniversalString (2)
- Version (1)
- VideotexString (2)
- WIN32OLE (1)
-
WIN32OLE
_ EVENT (1) -
WIN32OLE
_ TYPE (1) -
WIN32OLE
_ VARIABLE (1) -
WIN32OLE
_ VARIANT (1) - XMLDecl (1)
- YAMLTree (1)
- [] (19)
- []= (9)
-
_ _ id _ _ (1) -
_ _ send _ _ (2) -
_ dump (1) - abort (2)
-
abort
_ on _ exception (1) -
abort
_ on _ exception= (2) -
absolute
_ path (1) - accept (2)
- add (4)
-
add
_ attribute (2) -
add
_ attributes (1) -
add
_ element (1) -
add
_ loader (1) -
add
_ namespace (2) -
add
_ row (1) -
add
_ trace _ func (1) -
alias
_ method (1) - alive? (1)
- allocate (1)
-
allocation
_ sourcefile (1) -
allocation
_ sourceline (1) -
allow
_ nan? (1) - append (1)
- application= (1)
- arity (1)
-
array
_ nl (1) -
array
_ nl= (1) -
as
_ list (1) - ascend (2)
- atime (1)
- attribute (1)
-
attribute
_ of (1) -
attributes
_ of (1) - backtrace (1)
-
backtrace
_ locations (3) -
base
_ label (1) - basename (1)
-
basic
_ auth (1) -
beginning
_ of _ line? (1) -
bigdecimal
/ newton (1) - bind (1)
-
bind
_ call (2) - binding (1)
-
bit
_ set? (1) - blksize (1)
- blockdev? (1)
- blocks (1)
- body (1)
- body= (1)
-
body
_ stream (1) -
body
_ stream= (1) - bol? (1)
- broadcast (1)
- bump (1)
-
by
_ col (1) -
by
_ col! (1) -
by
_ col _ or _ row (1) -
by
_ col _ or _ row! (1) -
by
_ row (1) -
by
_ row! (1) - bytes (1)
- call (3)
-
callee
_ id (1) - casefold? (1)
- cgi (1)
-
cgi
/ session (1) - chardev? (1)
- charpos (1)
- check (1)
-
check
_ circular? (1) -
check
_ until (1) - children (1)
- chmod (1)
- chunked? (1)
- civil (1)
-
class
_ eval (2) -
class
_ exec (1) -
class
_ variable _ set (1) - cleanpath (1)
- clear (3)
-
clear
_ bit! (1) -
clear
_ exclude (1) - clone (1)
- close (3)
- closed? (2)
- cmp (1)
- coerce (1)
-
col
_ sep (1) - compile (2)
-
compile
_ option= (1) - concat (2)
- configure (1)
- connect (1)
-
const
_ load (1) - content (1)
-
content
_ length (1) -
content
_ length= (1) -
content
_ range (1) -
content
_ type (1) -
content
_ type= (1) - convert (4)
- converters (1)
- convpath (1)
- coverage (1)
- create (1)
-
create
_ id (1) - csv (1)
- ctime (1)
- current (1)
-
datetime
_ format (1) -
datetime
_ format= (2) - debug? (1)
- decode (1)
- deconstruct (3)
-
deconstruct
_ keys (5) -
def
_ class (1) -
def
_ delegator (1) -
def
_ instance _ delegator (1) -
def
_ method (1) -
def
_ module (1) - default (3)
-
default
_ argv (1) -
default
_ argv= (1) -
default
_ event _ sources (1) -
default
_ proc (1) - define (2)
-
define
_ finalizer (2) -
define
_ method (2) -
defined
_ class (1) - delegate (1)
- delete (5)
-
delete
_ all (2) -
delete
_ attribute (1) -
delete
_ element (1) -
delete
_ if (3) -
delete
_ namespace (1) - deq (2)
- descend (2)
-
destination
_ encoding (1) - dev (1)
-
dev
_ major (1) -
dev
_ minor (1) - dig (1)
- digest (1)
- digest! (1)
- directory? (1)
- dirname (1)
- display (1)
- divide (2)
- drb (1)
-
drb
/ extservm (1) -
drb
/ gw (1) -
drb
/ ssl (1) - dump (4)
- each (24)
-
each
_ attribute (1) -
each
_ byte (2) -
each
_ capitalized _ name (1) -
each
_ element _ with _ attribute (1) -
each
_ element _ with _ text (1) -
each
_ entry (4) -
each
_ filename (1) -
each
_ header (1) -
each
_ key (1) -
each
_ line (8) -
each
_ name (1) -
each
_ object (4) -
each
_ pair (2) -
each
_ value (1) -
each
_ with _ index (4) - egrep (1)
- empty? (3)
- encoding (2)
- enter (1)
- entities (1)
- entity (1)
- entitydecl (1)
- entries (1)
-
enum
_ for (2) - environment (1)
- eos? (1)
- eql? (5)
- error (2)
- error? (1)
-
error
_ bytes (1) -
error
_ char (1) -
eval
_ script (1) - event (1)
- exact? (1)
- exception (1)
-
excluded
_ from _ list? (1) - executable? (1)
-
executable
_ real? (1) - exist? (1)
- existing (1)
- existing! (1)
- exit (1)
- ext (1)
- extend (1)
- extended (1)
-
external
_ id (1) - fail (3)
- fatal (2)
- fatal? (1)
- feed (1)
- fetch (4)
- fiddle (1)
- field (1)
- field? (1)
-
field
_ row? (1) -
field
_ size _ limit (1) - file? (1)
- filename (1)
- filename= (1)
- filter (5)
- finish (1)
- first (1)
-
for
_ fd (1) -
force
_ quotes? (1) - foreach (2)
-
form
_ data= (1) - format (1)
- formatter (1)
- formatter= (1)
- ftype (1)
- generate (2)
-
generate
_ line (1) -
get
_ attribute (1) -
get
_ attribute _ ns (1) -
get
_ byte (1) -
get
_ text (1) - getbyte (2)
- getc (1)
- getch (1)
- getoptlong (1)
- getopts (2)
- gets (2)
- getwd (1)
- gid (1)
- grpowned? (1)
- gsub! (1)
- handler= (1)
-
has
_ elements? (1) - hash (2)
- header (2)
- header? (1)
-
header
_ convert (3) -
header
_ converters (1) -
header
_ row? (2) - headers (3)
- help (1)
- helpfile (1)
- hexdigest (1)
- hexdigest! (1)
-
ignore
_ deadlock= (1) - import (1)
- include? (1)
-
incomplete
_ input? (1) - indent (1)
- indent= (1)
- index (2)
- info (2)
- info? (1)
- initialize (1)
-
initialize
_ copy (1) - ino (1)
-
insert
_ output (1) - inspect (14)
- instance (2)
-
instance
_ delegate (1) -
instance
_ eval (2) -
instance
_ exec (1) -
instance
_ method (1) -
instance
_ of? (1) -
instance
_ variable _ defined? (1) -
instance
_ variable _ get (1) -
instance
_ variable _ set (1) -
instance
_ variables (1) -
instruction
_ sequence (1) - invkind (1)
- irb (1)
-
irb
/ xmp (1) -
is
_ a? (2) - isatty (1)
-
keyword
_ init? (1) -
kind
_ of? (2) - lambda (1)
- lambda? (1)
-
last
_ error (1) - length (4)
- level (1)
- level= (1)
- line (1)
- lineno (2)
- link (1)
- load (3)
-
local
_ host= (1) -
local
_ port= (1) -
local
_ variable _ set (1) - locked? (1)
- log (2)
- logger (1)
- loop (2)
-
marshal
_ dump (3) -
marshal
_ load (2) - match (3)
- match? (1)
- matched (1)
- matched? (1)
-
matched
_ size (1) - max (5)
- max= (1)
-
max
_ nesting (1) -
max
_ nesting= (1) - member? (1)
- members (3)
- merge (3)
- method (2)
-
method
_ id (1) -
method
_ missing (1) - methods (1)
- min (4)
-
mod
_ add (1) -
mod
_ exp (1) -
mod
_ mul (1) -
mod
_ sub (1) - mode (2)
-
module
_ eval (2) -
module
_ exec (1) -
mon
_ enter (2) -
mon
_ exit (1) - mtime (1)
- name (4)
- name= (2)
- names (1)
- namespace (2)
- namespaces (2)
-
need
_ tar (1) -
need
_ tar= (1) -
need
_ tar _ bz2 (1) -
need
_ tar _ bz2= (1) -
need
_ tar _ gz (1) -
need
_ tar _ gz= (1) -
need
_ zip (1) -
need
_ zip= (1) -
net
/ ftp (1) -
net
/ http (1) -
new
_ scope (1) -
new
_ seed (1) - next (1)
-
next
_ element (1) -
next
_ sibling= (1) -
next
_ values (1) -
next
_ year (1) - nlink (1)
- none? (1)
- now (1)
-
num
_ bits (1) -
num
_ waiting (1) -
object
_ nl (1) -
object
_ nl= (1) -
ole
_ query _ interface (1) -
on
_ head (1) -
on
_ tail (1) - open (14)
- openssl (1)
- optparse (1)
-
optparse
/ date (1) -
optparse
/ shellwords (1) -
optparse
/ time (1) -
optparse
/ uri (1) - order (4)
- order! (2)
-
original
_ name (1) - owned? (2)
- owner (1)
- pack (2)
-
package
_ dir (1) -
package
_ dir= (1) -
package
_ dir _ path (1) -
package
_ files (1) -
package
_ files= (1) - parameters (2)
- parse (5)
- parse! (1)
-
parse
_ csv (1) -
parse
_ line (1) - path (5)
- pathmap (1)
- peek (1)
-
peek
_ values (1) - peep (1)
- permute (2)
- permute! (1)
- pipe? (1)
- pointer (1)
- pointer= (1)
- pop (2)
- pos (1)
- pos= (2)
-
post
_ match (1) -
pre
_ match (1) - prefix (1)
- prefixes (2)
- prepend (1)
- prerelease? (2)
-
pretty
_ print (1) - prettyprint (1)
-
prev
_ year (1) -
previous
_ sibling= (1) -
prime
_ division (2) -
prime
_ fasttest? (1) -
primitive
_ convert (4) -
primitive
_ errinfo (1) - print (2)
- printf (1)
- priority (1)
- priority= (1)
- private (4)
- proc (1)
- produce (1)
- progname (1)
- progname= (1)
-
program
_ name (1) -
program
_ name= (1) -
proxy
_ basic _ auth (1) - public (1)
- push (1)
- putback (2)
- puts (2)
- pwd (1)
-
quote
_ char (1) - raise (6)
-
raised
_ exception (1) - rake (1)
-
rake
/ gempackagetask (1) - rand (3)
- range (1)
-
range
_ length (1) -
rb
_ ary _ new (1) -
rb
_ ary _ new2 (1) -
rb
_ ary _ new3 (1) -
rb
_ ary _ push (1) -
rb
_ ary _ store (1) -
rb
_ assoc _ new (1) -
rb
_ str _ new (1) - rdev (1)
-
rdev
_ major (1) -
rdev
_ minor (1) - rdoc (1)
-
rdoc
/ parser / c (1) - read (2)
- readable? (1)
-
readable
_ real? (1) - readbyte (1)
- readchar (1)
- readline (2)
- readlines (3)
- realpath (2)
- receiver (1)
- refine (1)
- reject (2)
- relative? (1)
-
relative
_ path _ from (1) - release (2)
-
remote
_ address (1) -
remove
_ instance _ variable (1) - reopen (5)
- replace (1)
- replacement (1)
- replacement= (1)
-
report
_ on _ exception (1) -
report
_ on _ exception= (1) -
request
_ body _ permitted? (1) - reset (1)
- resolv (1)
- resolve (1)
-
respond
_ to? (1) -
respond
_ to _ missing? (1) -
response
_ body _ permitted? (1) - rest (1)
- rest? (1)
-
rest
_ size (1) - restsize (1)
- result (2)
- resume (1)
-
return
_ headers? (1) -
return
_ value (1) - rewind (2)
-
rexml
/ document (1) -
rexml
/ parsers / pullparser (1) -
rexml
/ parsers / sax2parser (1) -
rexml
/ parsers / streamparser (1) -
rexml
/ parsers / ultralightparser (1) -
rinda
/ rinda (1) - root (1)
-
root
_ node (1) -
row
_ sep (1) - rss (1)
-
ruby 1
. 6 feature (1) -
ruby 1
. 8 . 1 feature (1) -
ruby 1
. 8 . 2 feature (1) -
ruby 1
. 8 . 3 feature (1) -
ruby 1
. 8 . 4 feature (1) -
ruby 1
. 8 . 5 feature (1) -
ruby 1
. 9 feature (1) - rubygems (1)
-
rubygems
/ specification (1) - run (2)
-
satisfied
_ by? (1) - scan (1)
-
scan
_ full (1) -
scan
_ until (1) -
search
_ convpath (1) -
search
_ full (1) - seed (1)
- select (2)
- send (2)
- separator (1)
-
set
_ bit! (1) -
set
_ content _ type (1) -
set
_ form _ data (1) -
set
_ trace _ func (1) - setgid? (1)
- setproperty (2)
- setuid? (1)
-
sev
_ threshold (1) -
sev
_ threshold= (1) - sexp (1)
-
sexp
_ raw (1) - shift (4)
- shuffle (2)
- signal (1)
-
singleton
_ class (1) -
singleton
_ method (1) -
singleton
_ method _ added (1) -
singleton
_ method _ removed (1) -
singleton
_ method _ undefined (1) -
singleton
_ methods (1) - size (7)
- size? (1)
- skip (1)
-
skip
_ blanks? (1) -
skip
_ until (1) - sleep (3)
- socket? (1)
- source (1)
-
source
_ encoding (1) -
source
_ location (1) - space (1)
- space= (1)
-
space
_ before (1) -
space
_ before= (1) - specific? (1)
- src (1)
-
stand
_ alone? (1) - start (4)
- sticky? (1)
- stop (1)
- stop? (1)
- store (1)
- strftime (1)
- string (2)
- string= (1)
- succ (1)
- sum (2)
- summarize (2)
-
summary
_ indent (1) -
summary
_ indent= (1) -
summary
_ width (1) -
summary
_ width= (1) -
super
_ method (1) - symlink (1)
- symlink? (1)
- synchronize (1)
-
syslog
/ logger (1) - system (1)
- table (1)
- target (1)
- terminate (1)
- text (1)
- text= (1)
-
thread
_ variable _ set (1) -
to
_ a (6) -
to
_ ary (1) -
to
_ bn (1) -
to
_ csv (3) -
to
_ enum (2) -
to
_ h (9) -
to
_ hash (4) -
to
_ int (1) -
to
_ json (10) -
to
_ path (1) -
to
_ proc (3) -
to
_ regexp (1) -
to
_ s (21) -
to
_ set (2) -
to
_ str (1) -
to
_ string (1) -
to
_ value (1) - tokenize (1)
- trace (1)
-
trace
_ object _ allocations (1) -
trace
_ var (3) - transfer (1)
- truncate (1)
-
try
_ lock (1) - tsort (1)
- tty? (1)
- ucmp (1)
- uid (1)
- unbind (1)
-
unconverted
_ fields? (1) -
undef
_ method (1) -
undefine
_ finalizer (1) - ungetc (1)
- unknown (2)
- unparse (1)
- unscan (1)
- uptodate? (1)
- utime (1)
- value (3)
- value= (1)
- values (1)
-
values
_ at (3) - ver (1)
- version (2)
-
wait
_ for _ cond (1) - wakeup (1)
- warn (2)
- warn? (1)
- wday (1)
- webrick (1)
-
webrick
/ cgi (1) - with (1)
-
with
_ defaults (1) -
with
_ index (4) -
with
_ object (2) - writable? (1)
-
writable
_ real? (1) - write (2)
-
write
_ headers? (1) - xpath (1)
- yaml (1)
-
yaml
/ store (1) -
yaml
_ tag (1) - yield (2)
- zero? (1)
- クラス/メソッドの定義 (1)
- スレッド (1)
- セキュリティモデル (1)
- パターンマッチ (1)
- メソッド呼び出し(super・ブロック付き・yield) (1)
- 制御構造 (1)
- 手続きオブジェクトの挙動の詳細 (1)
- 正規表現 (1)
- 演算子式 (1)
検索結果
先頭5件
- rubygems
- rubygems
/ specification - RDoc
:: Parser :: Ruby . new(top _ level , file _ name , body , options , stats) -> RDoc :: Parser :: Ruby - Psych
:: Visitors :: YAMLTree . new(options = {} , emitter = Psych :: TreeBuilder . new , ss = Psych :: ScalarScanner . new) -> Psych :: Visitors :: YAMLTree - Logger
. new(logdev , shift _ age = 0 , shift _ size = 1048576 , level: Logger :: Severity :: DEBUG , progname: nil , formatter: Formatter . new , datetime _ format: nil , shift _ period _ suffix: & # 39;%Y%m%d& # 39;) -> Logger
-
rubygems (78217.0)
-
RubyGems を扱うためのクラスやモジュールが定義されているライブラリです。
RubyGems を扱うためのクラスやモジュールが定義されているライブラリです。
===[a:gem_command] gem コマンドの使い方
$ gem help
RubyGems は Ruby のための高機能なパッケージ管理ツールです。
これはより多くの情報へのポインタを含んでいる基本的なヘルプメッセージです。
使用方法:
gem -h/--help
gem -v/--version
gem command [arguments...] [options...]
例:
... -
rubygems
/ specification (78019.0) -
Gem パッケージのメタデータを扱うためのライブラリです。
Gem パッケージのメタデータを扱うためのライブラリです。
通常 gemspec ファイルや Rakefile でメタデータを定義します。
例:
spec = Gem::Specification.new do |s|
s.name = 'rfoo'
s.version = '1.0'
s.summary = 'Example gem specification'
...
end -
RDoc
:: Parser :: Ruby . new(top _ level , file _ name , body , options , stats) -> RDoc :: Parser :: Ruby (63607.0) -
自身を初期化します。
自身を初期化します。
@param top_level RDoc::TopLevel オブジェクトを指定します。
@param file_name ファイル名を文字列で指定します。
@param body ソースコードの内容を文字列で指定します。
@param options RDoc::Options オブジェクトを指定します。
@param stats RDoc::Stats オブジェクトを指定します。 -
Psych
:: Visitors :: YAMLTree . new(options = {} , emitter = Psych :: TreeBuilder . new , ss = Psych :: ScalarScanner . new) -> Psych :: Visitors :: YAMLTree (54928.0) -
YAMLTree オブジェクトを生成します。
YAMLTree オブジェクトを生成します。
options には構築される YAML AST に設定されるオプション設定を指定します。
Psych.dump と同じオプションが指定できます。
emitter には AST の構築に使われる Psych::TreeBuilder オブジェクト
を渡します。
ss は Ruby の String が YAML document 上で quote が必要かどうか
を判定するための Psych::ScalarScanner オブジェクトを渡します。
emitter, ss は通常デフォルトのものから変える必要はないでしょう。
@param... -
Logger
. new(logdev , shift _ age = 0 , shift _ size = 1048576 , level: Logger :: Severity :: DEBUG , progname: nil , formatter: Formatter . new , datetime _ format: nil , shift _ period _ suffix: & # 39;%Y%m%d& # 39;) -> Logger (54769.0) -
Logger オブジェクトを生成します。
Logger オブジェクトを生成します。
@param logdev ログを書き込むファイル名か、 IO オブジェクト(STDOUT, STDERR など)を指定します。
@param shift_age ログファイルを保持する数か、ログファイルを切り替える頻度を指定します。
頻度には daily, weekly, monthly を文字列で指定することができます。
省略すると、ログの保存先を切り替えません。
@param shift_size shift_age を整数で指定した場合のみ有効です。
... -
Random
. new(seed = Random . new _ seed) -> Random (54709.0) -
メルセンヌ・ツイスタに基づく擬似乱数発生装置オブジェクトを作ります。 引数が省略された場合は、Random.new_seedの値を使用します。
メルセンヌ・ツイスタに基づく擬似乱数発生装置オブジェクトを作ります。
引数が省略された場合は、Random.new_seedの値を使用します。
@param seed 擬似乱数生成器の種を整数で指定します。
//emlist[例: 種が同じなら同じ乱数列を発生できる。][ruby]{
prng = Random.new(1234)
[ prng.rand, prng.rand ] #=> [0.1915194503788923, 0.6221087710398319]
[ prng.rand(10), prng.rand... -
CSV
. new(data , options = Hash . new) -> CSV (54679.0) -
このメソッドは CSV ファイルを読み込んだり、書き出したりするために String か IO のインスタンスをラップします。
このメソッドは CSV ファイルを読み込んだり、書き出したりするために
String か IO のインスタンスをラップします。
ラップされた文字列の先頭から読み込むことになります。
文字列に追記したい場合は CSV.generate を使用してください。
他の位置から処理したい場合はあらかじめそのように設定した StringIO を渡してください。
@param data String か IO のインスタンスを指定します。
String のインスタンスを指定した場合、CSV#string を使用して
後からデータを取り出すことが出来ます。... -
RubyVM
:: InstructionSequence . new(source , file = nil , path = nil , line = 1 , options = nil) -> RubyVM :: InstructionSequence (54670.0) -
引数 source で指定した Ruby のソースコードを元にコンパイル済みの RubyVM::InstructionSequence オブジェクトを作成して返します。
引数 source で指定した Ruby のソースコードを元にコンパイル済みの
RubyVM::InstructionSequence オブジェクトを作成して返します。
@param source Ruby のソースコードを文字列で指定します。
@param file ファイル名を文字列で指定します。
@param path 引数 file の絶対パスファイル名を文字列で指定します。
@param line 引数 source の 1 行目の行番号を指定します。
@param options コンパイル時のオプションを true、false、Hash オブ
... -
Syslog
:: Logger . new(program _ name = & # 39;ruby& # 39;) -> Syslog :: Logger (54607.0) -
Syslog::Logger オブジェクトを初期化します。
Syslog::Logger オブジェクトを初期化します。
@param program_name Logger との互換性のために用意されています。
プログラム名を文字列で指定できますが、最初の
Syslog::Logger の初期化時のみ、指定した値がセッ
トされます(syslog の仕様で 1 つのプログラム名のみが
採用されます)。 -
Range
. new(first , last , exclude _ end = false) -> Range (54574.0) -
first から last までの範囲オブジェクトを生成して返しま す。
first から last までの範囲オブジェクトを生成して返しま
す。
exclude_end が真ならば終端を含まない範囲オブジェクトを生
成します。exclude_end 省略時には終端を含みます。
@param first 最初のオブジェクト
@param last 最後のオブジェクト
@param exclude_end 真をセットした場合終端を含まない範囲オブジェクトを生成します
@raise ArgumentError first <=> last が nil の場合に発生します
//emlist[例: 整数の範囲オブジェクトの場合][ruby]{
Range.new(... -
REXML
:: Text . new(arg , respect _ whitespace = false , parent = nil , raw = nil , entity _ filter = nil , illegal = REXML :: Text :: NEEDS _ A _ SECOND _ CHECK) (54484.0) -
テキストノードオブジェクトを生成します。
テキストノードオブジェクトを生成します。
arg でノードの内容を指定します。
文字列の場合はそれが内容として使われます。
REXML::Text オブジェクトの場合はその内容が複製されます。
respect_whitespace に真を指定すると、arg に含まれる空白文字は保存されます。
偽の場合は空白はまとめられます。
raw は true, false, nil のいずれかを指定し、生成されるテキストノードが
raw モードであるかどうかを決めます。
true の場合、そのノードは raw モードであると解釈され、
テキストにはエスケープされていないXMLマークアップは
含まれ... -
OpenSSL
:: BN . new(str , base=10) -> OpenSSL :: BN (54454.0) -
文字列を多倍長整数オブジェクト(OpenSSL::BN)を生成します。
文字列を多倍長整数オブジェクト(OpenSSL::BN)を生成します。
base で、変換方法(基数)を指定します。
デフォルトは 10 で、他に 16, 2, 0 を指定できます。
10 引数の文字列を 10進数とみなして、変換します。
16 引数の文字列を 16進数とみなして、変換します。
2 引数の文字列を big-endian の符号無し整数のバイナリ列とみなして、変換します。
0 引数の文字列を MPI形式の文字列(バイト列)とみなして、変換します。
(最初の4byteはbig-endianでデータ長を表わし、その後にそのデータ長のバイト... -
Class
. new(superclass = Object) -> Class (54433.0) -
新しく名前の付いていない superclass のサブクラスを生成します。
新しく名前の付いていない superclass のサブクラスを生成します。
名前のないクラスは、最初に名前を求める際に代入されている定数名を検
索し、見つかった定数名をクラス名とします。
//emlist[例][ruby]{
p foo = Class.new # => #<Class:0x401b90f8>
p foo.name # => nil
Foo = foo # ここで p foo すれば "Foo" 固定
Bar = foo
p foo.name # => "Bar" ("Foo" になるか "Bar" になるかは... -
Class
. new(superclass = Object) {|klass| . . . } -> Class (54433.0) -
新しく名前の付いていない superclass のサブクラスを生成します。
新しく名前の付いていない superclass のサブクラスを生成します。
名前のないクラスは、最初に名前を求める際に代入されている定数名を検
索し、見つかった定数名をクラス名とします。
//emlist[例][ruby]{
p foo = Class.new # => #<Class:0x401b90f8>
p foo.name # => nil
Foo = foo # ここで p foo すれば "Foo" 固定
Bar = foo
p foo.name # => "Bar" ("Foo" になるか "Bar" になるかは... -
CSV
:: Row . new(headers , fields , header _ row = false) -> CSV :: Row (54430.0) -
自身を初期化します。
自身を初期化します。
一方の配列が他方の配列よりも短い場合、不足しているところは nil になります。
@param headers ヘッダの配列を指定します。
@param fields フィールドの配列を指定します。
@param header_row ヘッダ行である場合は真を指定します。そうでない場合は偽を指定します。
デフォルトは偽です。
//emlist[例 header_row = true のケース][ruby]{
require "csv"
header = CSV::Row.new(["header1", "header2"]... -
TracePoint
. new(*events) {|obj| . . . } -> TracePoint (54430.0) -
新しい TracePoint オブジェクトを作成して返します。トレースを有効 にするには TracePoint#enable を実行してください。
新しい TracePoint オブジェクトを作成して返します。トレースを有効
にするには TracePoint#enable を実行してください。
//emlist[例:irb で実行した場合][ruby]{
trace = TracePoint.new(:call) do |tp|
p [tp.lineno, tp.defined_class, tp.method_id, tp.event]
end
# => #<TracePoint:0x007f17372cdb20>
trace.enable
# => false
puts "Hello, TracePoint!"
# .... -
Hash
. new(ifnone = nil) -> Hash (54427.0) -
空の新しいハッシュを生成します。ifnone はキーに対 応する値が存在しない時のデフォルト値です。設定したデフォルト値はHash#defaultで参照できます。
空の新しいハッシュを生成します。ifnone はキーに対
応する値が存在しない時のデフォルト値です。設定したデフォルト値はHash#defaultで参照できます。
ifnoneを省略した Hash.new は {} と同じです。
デフォルト値として、毎回同一のオブジェクトifnoneを返します。
それにより、一箇所のデフォルト値の変更が他の値のデフォルト値にも影響します。
//emlist[][ruby]{
h = Hash.new([])
h[0] << 0
h[1] << 1
p h.default #=> [0, 1]
//}
これを避けるには、破壊的でないメソッドで再代入する... -
Proc
. new { . . . } -> Proc (54412.0) -
ブロックをコンテキストとともにオブジェクト化して返します。
ブロックをコンテキストとともにオブジェクト化して返します。
@raise ArgumentError ブロックを省略した呼び出しを行ったときに発生します。
//emlist[][ruby]{
pr = Proc.new {|arg| p arg }
pr.call(1) # => 1
//}
//emlist[][ruby]{
Proc.new # => -e:1:in `new': tried to create Proc object without a block (ArgumentError)
//}
Proc.new は、Proc#initialize が定義されていれば
... -
REXML
:: CData . new(text , respect _ whitespace = true , parent = nil) -> REXML :: CData (54412.0) -
text をテキストとして持つ CData オブジェクトを生成します。
text をテキストとして持つ CData オブジェクトを生成します。
respect_whitespace に真を指定すると、text に含まれる空白文字は保存されます。
偽の場合は空白はまとめられます。
@param text テキスト文字列
@param respect_whitespace 空白を保存するかどうかを決める真偽値
@param parent 親ノード
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<root />
EOS
doc.root.add(REXML::... -
Encoding
:: Converter . new(convpath) -> Encoding :: Converter (54400.0) -
Encoding::Converter オブジェクトを作成します。
Encoding::Converter オブジェクトを作成します。
@param source_encoding 変換元のエンコーディング
@param destination_encoding 変換先のエンコーディング
@param options 変換の詳細を指定する定数やハッシュ
@param convpath 変換経路の配列
options では String#encode でのハッシュオプションに加えて、以下の定数が利用可能です。
* Encoding::Converter::INVALID_REPLACE
* Encoding::Converter::UNDEF_RE... -
Encoding
:: Converter . new(source _ encoding , destination _ encoding) -> Encoding :: Converter (54400.0) -
Encoding::Converter オブジェクトを作成します。
Encoding::Converter オブジェクトを作成します。
@param source_encoding 変換元のエンコーディング
@param destination_encoding 変換先のエンコーディング
@param options 変換の詳細を指定する定数やハッシュ
@param convpath 変換経路の配列
options では String#encode でのハッシュオプションに加えて、以下の定数が利用可能です。
* Encoding::Converter::INVALID_REPLACE
* Encoding::Converter::UNDEF_RE... -
Encoding
:: Converter . new(source _ encoding , destination _ encoding , options) -> Encoding :: Converter (54400.0) -
Encoding::Converter オブジェクトを作成します。
Encoding::Converter オブジェクトを作成します。
@param source_encoding 変換元のエンコーディング
@param destination_encoding 変換先のエンコーディング
@param options 変換の詳細を指定する定数やハッシュ
@param convpath 変換経路の配列
options では String#encode でのハッシュオプションに加えて、以下の定数が利用可能です。
* Encoding::Converter::INVALID_REPLACE
* Encoding::Converter::UNDEF_RE... -
Array
. new(size) {|index| . . . } -> Array (54397.0) -
長さ size の配列を生成し、各要素のインデックスを引数としてブロックを実行し、 各要素の値をブロックの評価結果に設定します。
長さ size の配列を生成し、各要素のインデックスを引数としてブロックを実行し、
各要素の値をブロックの評価結果に設定します。
ブロックは要素毎に実行されるので、全要素をあるオブジェクトの複製にすることができます。
@param size 配列の長さを数値で指定します。
//emlist[例][ruby]{
ary = Array.new(3){|index| "hoge#{index}"}
p ary #=> ["hoge0", "hoge1", "hoge2"]
//}
//emlist[例][ruby]{
ary = Array.ne... -
Dir
. new(path) -> Dir (54397.0) -
path に対するディレクトリストリームをオープンして返します。
path に対するディレクトリストリームをオープンして返します。
ブロックを指定して呼び出した場合は、ディレクトリストリームを
引数としてブロックを実行します。ブロックの実行が終了すると、
ディレクトリは自動的にクローズされます。
ブロックの実行結果を返します。
@param path ディレクトリのパスを文字列で指定します。
@param encoding ディレクトリのエンコーディングを文字列か
Encoding オブジェクトで指定します。省略した場合は
ファイルシステムのエンコーディングと同じになります。
@rai... -
Dir
. new(path , encoding: Encoding . find("filesystem")) -> Dir (54397.0) -
path に対するディレクトリストリームをオープンして返します。
path に対するディレクトリストリームをオープンして返します。
ブロックを指定して呼び出した場合は、ディレクトリストリームを
引数としてブロックを実行します。ブロックの実行が終了すると、
ディレクトリは自動的にクローズされます。
ブロックの実行結果を返します。
@param path ディレクトリのパスを文字列で指定します。
@param encoding ディレクトリのエンコーディングを文字列か
Encoding オブジェクトで指定します。省略した場合は
ファイルシステムのエンコーディングと同じになります。
@rai... -
Hash
. new {|hash , key| . . . } -> Hash (54397.0) -
空の新しいハッシュを生成します。ブロックの評価結果がデフォルト値になりま す。設定したデフォルト値はHash#default_procで参照できます。
空の新しいハッシュを生成します。ブロックの評価結果がデフォルト値になりま
す。設定したデフォルト値はHash#default_procで参照できます。
値が設定されていないハッシュ要素を参照するとその都度ブロックを
実行し、その結果を返します。
ブロックにはそのハッシュとハッシュを参照したときのキーが渡されます。
@raise ArgumentError ブロックと通常引数を同時に与えると発生します。
//emlist[例][ruby]{
# ブロックではないデフォルト値は全部同一のオブジェクトなので、
# 破壊的変更によって他のキーに対応する値も変更されます。
h = Hash.new... -
File
. new(path , mode = "r" , perm = 0666) -> File (54394.0) -
path で指定されるファイルをオープンし、File オブジェクトを生成して 返します。
path で指定されるファイルをオープンし、File オブジェクトを生成して
返します。
path が整数の場合はファイルディスクリプタとして扱い、それに対応する
File オブジェクトを生成して返します。IO.open と同じです。
ブロックを指定して呼び出した場合は、File オブジェクトを引数として
ブロックを実行します。ブロックの実行が終了すると、ファイルは自動的に
クローズされます。ブロックの実行結果を返します。
@param path ファイルを文字列で指定します。整数を指定した場合はファイルディスクリプタとして扱います。
@param mode モードを文字列か定数の論理... -
File
:: Stat . new(path) -> File :: Stat (54394.0) -
path に関する File::Stat オブジェクトを生成して返します。 File.stat と同じです。
path に関する File::Stat オブジェクトを生成して返します。
File.stat と同じです。
@param path ファイルのパスを指定します。
@raise Errno::ENOENT pathに該当するファイルが存在しない場合発生します。
//emlist[][ruby]{
p $:[0]
#=> 例
# "C:/Program Files/ruby-1.8/lib/ruby/site_ruby/1.8"
p File::Stat.new($:[0])
#=> 例
#<File::Stat dev=0x2, ino=0, mode=040755, nlink=1,... -
JSON
:: State . new(options = {}) -> JSON :: State (54394.0) -
自身を初期化します。
自身を初期化します。
@param options ハッシュを指定します。
指定可能なオプションは以下の通りです。
: :indent
インデントに使用する文字列を指定します。デフォルトは空文字列です。
: :space
JSON 形式の文字列のトークン間に挿入する文字列を指定します。デフォルトは空文字列です。
: :space_before
JSON 形式の文字列中で JavaScript のオブジェクトを表す部分にある ':' の
前に挿入する文字列をセットします。デフォルトは空文字列です。
: :object_nl
JSON 形式の文字列中に現れる... -
Resolv
:: DNS . new(resolv _ conf = nil) -> Resolv :: DNS (54394.0) -
新しい DNS リゾルバを生成します。
新しい DNS リゾルバを生成します。
resolv_conf が nil の場合は
/etc/resolv.conf もしくはプラットフォーム固有の
DNS設定を利用します。
resolv_conf が文字列の場合は /etc/resolv.conf と
同じフォーマットのファイルを設定に利用します。
resolv_conf がハッシュの場合は、:nameserver, :search, :ndots
というキーが利用可能です。
それぞれの意味は resolv.conf(5) を参照してください。
また、:nameserver_portでアドレスとポートを指定できます。
//emlis... -
ThreadGroup
. new -> ThreadGroup (54394.0) -
新たな ThreadGroup を生成して返します。
新たな ThreadGroup を生成して返します。
//emlist[例][ruby]{
thread_group = ThreadGroup.new
thread_group.add Thread.new { sleep 0.1; Thread.new { sleep 1 }; sleep 1 }
thread_group.add Thread.new { sleep 2 }
sleep 0.5
thread_group.list # => [#<Thread:0x007fc6f1842d70 sleep>, #<Thread:0x007fc6f1842c80 sleep>, #<Th... -
Time
. new(iso8601 , in: nil) -> Time (54394.0) -
引数で指定した地方時の Time オブジェクトを返します。
引数で指定した地方時の Time オブジェクトを返します。
@param iso8601 Time#inspectの結果や制限されたISO-8601形式などの文字列を指定します。
@param in 協定世界時との時差を、秒を単位とする整数か、
"UTC" かミリタリータイムゾーンの文字列または
"+HH:MM" "-HH:MM" 形式の文字列で指定します。
iso8601 に指定された文字列がタイムゾーンを持っている場合は無視されます。
@raise ArgumentError iso8601が無効な形式の場合に発生します。
... -
WIN32OLE
_ VARIANT . new(val , vartype = nil) -> WIN32OLE _ VARIANT (54394.0) -
指定したオブジェクトを値とするWIN32OLE_VARIANTオブジェクトを生成します。
指定したオブジェクトを値とするWIN32OLE_VARIANTオブジェクトを生成します。
@param val ラップするRubyオブジェクトを指定します。
@param vartype 省略時はWIN32OLEが自動型変換を行います。指定する場合は
WIN32OLE::VARIANTの定数を指定してください。
@return val引数を値として持つWIN32OLE_VARIANTオブジェクトを返します。
@raise TypeError val引数の型がArray、String、Integer、Float、Time、
WI... -
Array
. new(ary) -> Array (54382.0) -
指定された配列 ary を複製して返します。 Array#dup 同様 要素を複製しない浅い複製です。
指定された配列 ary を複製して返します。
Array#dup 同様 要素を複製しない浅い複製です。
@param ary 複製したい配列を指定します。
//emlist[例][ruby]{
p Array.new([1,2,3]) # => [1,2,3]
a = ["a", "b", "c"]
b = Array.new(a)
a.each{|s| s.capitalize! }
p a #=> ["A", "B", "C"]
p b #=> ["A", "B", "C"] (b は ... -
SignalException
. new(sig _ name) -> SignalException (54382.0) -
引数で指定したシグナルに関する SignalException オブジェクトを生成して返 します。
引数で指定したシグナルに関する SignalException オブジェクトを生成して返
します。
引数は Signal.#list に含まれるもののいずれかを指定する必要があり
ます。
@param sig_name シグナル名を Symbol オブジェクト、文字列のいずれ
かで指定します。
@param sig_number シグナル番号を指定します。整数以外のオブジェクトを指
定した場合は to_int メソッドによる暗黙の型変換を試み
ます。
//emlist[例][rub... -
SignalException
. new(sig _ number) -> SignalException (54382.0) -
引数で指定したシグナルに関する SignalException オブジェクトを生成して返 します。
引数で指定したシグナルに関する SignalException オブジェクトを生成して返
します。
引数は Signal.#list に含まれるもののいずれかを指定する必要があり
ます。
@param sig_name シグナル名を Symbol オブジェクト、文字列のいずれ
かで指定します。
@param sig_number シグナル番号を指定します。整数以外のオブジェクトを指
定した場合は to_int メソッドによる暗黙の型変換を試み
ます。
//emlist[例][rub... -
SignalException
. new(sig _ number , sig _ name) -> SignalException (54382.0) -
引数で指定したシグナルに関する SignalException オブジェクトを生成して返 します。
引数で指定したシグナルに関する SignalException オブジェクトを生成して返
します。
引数は Signal.#list に含まれるもののいずれかを指定する必要があり
ます。
@param sig_name シグナル名を Symbol オブジェクト、文字列のいずれ
かで指定します。
@param sig_number シグナル番号を指定します。整数以外のオブジェクトを指
定した場合は to_int メソッドによる暗黙の型変換を試み
ます。
//emlist[例][rub... -
String
. new(string = "") -> String (54382.0) -
string と同じ内容の新しい文字列を作成して返します。 引数を省略した場合は空文字列を生成して返します。
string と同じ内容の新しい文字列を作成して返します。
引数を省略した場合は空文字列を生成して返します。
@param string 文字列
@param encoding 作成する文字列のエンコーディングを文字列か
Encoding オブジェクトで指定します(変換は行われま
せん)。省略した場合は引数 string のエンコーディングと同
じになります(ただし、string が指定されていなかった場合は
Encoding::ASCII_8BITになります... -
String
. new(string = "" , encoding: string . encoding , capacity: 63) -> String (54382.0) -
string と同じ内容の新しい文字列を作成して返します。 引数を省略した場合は空文字列を生成して返します。
string と同じ内容の新しい文字列を作成して返します。
引数を省略した場合は空文字列を生成して返します。
@param string 文字列
@param encoding 作成する文字列のエンコーディングを文字列か
Encoding オブジェクトで指定します(変換は行われま
せん)。省略した場合は引数 string のエンコーディングと同
じになります(ただし、string が指定されていなかった場合は
Encoding::ASCII_8BITになります... -
String
. new(string = "" , encoding: string . encoding , capacity: string . bytesize) -> String (54382.0) -
string と同じ内容の新しい文字列を作成して返します。 引数を省略した場合は空文字列を生成して返します。
string と同じ内容の新しい文字列を作成して返します。
引数を省略した場合は空文字列を生成して返します。
@param string 文字列
@param encoding 作成する文字列のエンコーディングを文字列か
Encoding オブジェクトで指定します(変換は行われま
せん)。省略した場合は引数 string のエンコーディングと同
じになります(ただし、string が指定されていなかった場合は
Encoding::ASCII_8BITになります... -
Module
. new -> Module (54379.0) -
名前の付いていないモジュールを新しく生成して返します。
名前の付いていないモジュールを新しく生成して返します。
ブロックが与えられると生成したモジュールをブロックに渡し、
モジュールのコンテキストでブロックを実行します。
//emlist[例][ruby]{
mod = Module.new
mod.module_eval {|m|
# ...
}
mod
//}
と同じです。
ブロックの実行は Module#initialize が行います。
ブロックを与えた場合も生成したモジュールを返します。
このメソッドで生成されたモジュールは、
最初に名前が必要になったときに名前が決定します。
モジュールの名前は、
そのモジュールが代入され... -
Module
. new {|mod| . . . } -> Module (54379.0) -
名前の付いていないモジュールを新しく生成して返します。
名前の付いていないモジュールを新しく生成して返します。
ブロックが与えられると生成したモジュールをブロックに渡し、
モジュールのコンテキストでブロックを実行します。
//emlist[例][ruby]{
mod = Module.new
mod.module_eval {|m|
# ...
}
mod
//}
と同じです。
ブロックの実行は Module#initialize が行います。
ブロックを与えた場合も生成したモジュールを返します。
このメソッドで生成されたモジュールは、
最初に名前が必要になったときに名前が決定します。
モジュールの名前は、
そのモジュールが代入され... -
Set
. new(enum = nil) -> Set (54379.0) -
引数 enum で与えられた要素を元に、新しい集合を作ります。
引数 enum で与えられた要素を元に、新しい集合を作ります。
引数を指定しない場合、または引数が nil である場合には、空の集合を
作ります。
引数を与えてブロックを与えない場合、enum の各要素からなる集合を
作ります。
引数とブロックの両方を与えた場合、enum の各要素についてブロックを
評価し、その結果を新しい集合の要素とします。
@param enum 集合要素を格納するオブジェクトを指定します。
enum には each メソッドが定義されている必要があります。
@raise ArgumentError 引数 enum が与えられて、かつ enum に... -
Set
. new(enum = nil) {|o| . . . } -> Set (54379.0) -
引数 enum で与えられた要素を元に、新しい集合を作ります。
引数 enum で与えられた要素を元に、新しい集合を作ります。
引数を指定しない場合、または引数が nil である場合には、空の集合を
作ります。
引数を与えてブロックを与えない場合、enum の各要素からなる集合を
作ります。
引数とブロックの両方を与えた場合、enum の各要素についてブロックを
評価し、その結果を新しい集合の要素とします。
@param enum 集合要素を格納するオブジェクトを指定します。
enum には each メソッドが定義されている必要があります。
@raise ArgumentError 引数 enum が与えられて、かつ enum に... -
Thread
:: Queue . new -> Thread :: Queue (54379.0) -
新しいキューオブジェクトを生成します。
新しいキューオブジェクトを生成します。
@param items 初期値を Enumerable で指定します。
//emlist[][ruby]{
q = Queue.new
q = Queue.new([a, b, c])
q = Queue.new(items)
//} -
Thread
:: Queue . new(items) -> Thread :: Queue (54379.0) -
新しいキューオブジェクトを生成します。
新しいキューオブジェクトを生成します。
@param items 初期値を Enumerable で指定します。
//emlist[][ruby]{
q = Queue.new
q = Queue.new([a, b, c])
q = Queue.new(items)
//} -
CSV
:: Table . new(array _ of _ rows) -> CSV :: Table (54376.0) -
自身を初期化します。
自身を初期化します。
全ての行が同じヘッダを持つことを仮定しています。
@param array_of_rows CSV::Row のインスタンスの配列を指定します。
//emlist[例][ruby]{
require "csv"
row1 = CSV::Row.new(["header1", "header2"], ["row1_1", "row1_2"])
row2 = CSV::Row.new(["header1", "header2"], ["row2_1", "row2_2"])
table = CSV::Table.new([row1, row2])
table.to_... -
Class
# new(*args , &block) -> object (54376.0) -
自身のインスタンスを生成して返します。 このメソッドの引数はブロック引数も含め Object#initialize に渡されます。
自身のインスタンスを生成して返します。
このメソッドの引数はブロック引数も含め Object#initialize に渡されます。
new は Class#allocate でインスタンスを生成し、
Object#initialize で初期化を行います。
@param args Object#initialize に渡される引数を指定します。
@param block Object#initialize に渡されるブロックを指定します。
//emlist[例][ruby]{
# Class クラスのインスタンス、C クラスを生成
C = Class.new # => C
# ... -
ERB
. new(str , trim _ mode: nil , eoutvar: & # 39; _ erbout& # 39;) -> ERB (54376.0) -
eRubyスクリプト から ERB オブジェクトを生成して返します。
eRubyスクリプト から ERB オブジェクトを生成して返します。
@param str eRubyスクリプトを表す文字列
@param trim_mode 整形の挙動を変更するオプション
@param eoutvar eRubyスクリプトの中で出力をためていく変数の名前を表す文
字列。eRuby スクリプトの中でさらに ERB を使うときに変更
します。通常は指定する必要はありません。
//emlist[例][ruby]{
require "erb"
# build data class
class Listings
... -
Enumerator
. new(size=nil) {|y| . . . } -> Enumerator (54376.0) -
Enumerator オブジェクトを生成して返します。与えられたブロックは Enumerator::Yielder オブジェクトを 引数として実行されます。
Enumerator オブジェクトを生成して返します。与えられたブロックは Enumerator::Yielder オブジェクトを
引数として実行されます。
生成された Enumerator オブジェクトに対して each を呼ぶと、この生成時に指定されたブロックを
実行し、Yielder オブジェクトに対して << メソッドが呼ばれるたびに、
each に渡されたブロックが繰り返されます。
new に渡されたブロックが終了した時点で each の繰り返しが終わります。
このときのブロックの返り値が each の返り値となります。
@param size 生成する Enumerator... -
Gem
:: Version . new(version) -> Gem :: Version (54376.0) -
バージョンを表す文字列から、Gem::Version インスタンスを作成します。
バージョンを表す文字列から、Gem::Version インスタンスを作成します。
引数のバージョンを表す文字列とは、 数字かASCII文字の連続であり、ドットで区切られたものです。
//emlist[][ruby]{
p Gem::Version.new('1.2.0a') # => #<Gem::Version "1.2.0a">
# Ruby 2.4.1より、空白文字以外の文字がない場合、バージョンは "0" になります。
p Gem::Version.new(' ') #=> #<Gem::Version "0">
//}
@param version
@raise Argum... -
JSON
:: Parser . new(source , options => {}) -> JSON :: Parser (54376.0) -
パーサを初期化します。
パーサを初期化します。
第二引数のハッシュには以下のキーを指定することができます。
: :max_nesting
データ構造のネストの深さの最大値を指定します。デフォルトは 19 です。
チェックを無効にするにはゼロまたは偽を指定してください。
: :allow_nan
真を指定すると 4627 を無視して NaN, Infinity, -Infinity をパースエラーにしません。
デフォルトは偽です。
: :create_additions
偽を指定するとマッチするクラスや ID があっても付加情報を生成しません。デフォルトは真です。
: :object_clas... -
URI
:: FTP . new(scheme , userinfo , host , port , registry , path , opaque , query , fragment , arg _ check = false) -> URI :: FTP (54376.0) -
汎用的な構成要素から URI::FTP オブジェクトを生成します。build と異なり、デフォルトでは引数の正当性を検査しません。
汎用的な構成要素から URI::FTP オブジェクトを生成します。build
と異なり、デフォルトでは引数の正当性を検査しません。
例:
require 'uri'
p ftp = URI.parse("ftp://ftp.ruby-lang.org/pub/ruby/;type=d")
p ftp.typecode
#=> #<URI::FTP:0x2010029c URL:ftp://ftp.ruby-lang.org/pub/ruby/;type=d>
#=> "d"
@param scheme 構成要素を表す文字列を与えます。
@param userinfo... -
Fiddle
:: Closure :: BlockCaller . new(ret , args , abi=Fiddle :: Function :: DEFAULT) { . . . } -> Fiddle :: Closure :: BlockCaller (54370.0) -
Ruby のブロックを呼び出す Fiddle::Closure オブジェクトを返します。
Ruby のブロックを呼び出す Fiddle::Closure オブジェクトを返します。
args、ret で関数の引数と返り値の型を指定します。
指定は Fiddle::Function.new と同様なので、そちら
を参照してください。
@param ret 返り値の型
@param args 引数の型を表す配列
@param abi 呼出規約 -
Array
. new(size = 0 , val = nil) -> Array (54367.0) -
長さ size の配列を生成し、各要素を val で初期化して返します。
長さ size の配列を生成し、各要素を val で初期化して返します。
要素毎に val が複製されるわけではないことに注意してください。
全要素が同じオブジェクト val を参照します。
後述の例では、配列の各要素は全て同一の文字列を指します。
@param size 配列の長さを数値で指定します。
@param val 配列の要素の値を指定します。
//emlist[例][ruby]{
ary = Array.new(3, "foo")
p ary #=> ["foo", "foo", "foo"]
ary[0].capitalize!
... -
Time
. new(year , mon = nil , day = nil , hour = nil , min = nil , sec = nil , in: nil) -> Time (54364.0) -
引数で指定した地方時の Time オブジェクトを返します。
引数で指定した地方時の Time オブジェクトを返します。
mon day hour min sec に nil を指定した場合の値は、その引数がとり得る最小の値です。
zone と in に nil を指定した場合の値は、現在のタイムゾーンに従います。
@param year 年を整数か文字列で指定します。例えば 1998 年に対して 1998 を指定します。
@param mon 1(1月)から 12(12月)の範囲の整数または文字列で指定します。
英語の月名("Jan", "Feb", ... などの省略名。大文字小文字の違いは無視します)も指定できます。
... -
Time
. new(year , mon = nil , day = nil , hour = nil , min = nil , sec = nil , zone = nil) -> Time (54364.0) -
引数で指定した地方時の Time オブジェクトを返します。
引数で指定した地方時の Time オブジェクトを返します。
mon day hour min sec に nil を指定した場合の値は、その引数がとり得る最小の値です。
zone と in に nil を指定した場合の値は、現在のタイムゾーンに従います。
@param year 年を整数か文字列で指定します。例えば 1998 年に対して 1998 を指定します。
@param mon 1(1月)から 12(12月)の範囲の整数または文字列で指定します。
英語の月名("Jan", "Feb", ... などの省略名。大文字小文字の違いは無視します)も指定できます。
... -
Enumerator
:: Lazy . new(obj , size=nil) {|yielder , *values| . . . } -> Enumerator :: Lazy (54358.0) -
Lazy Enumerator を作成します。Enumerator::Lazy#force メソッドなどに よって列挙が実行されたとき、objのeachメソッドが実行され、値が一つずつ ブロックに渡されます。ブロックは、yielder を使って最終的に yield される値を 指定できます。
Lazy Enumerator を作成します。Enumerator::Lazy#force メソッドなどに
よって列挙が実行されたとき、objのeachメソッドが実行され、値が一つずつ
ブロックに渡されます。ブロックは、yielder を使って最終的に yield される値を
指定できます。
//emlist[Enumerable#filter_map と、その遅延評価版を定義する例][ruby]{
module Enumerable
def filter_map(&block)
map(&block).compact
end
end
class Enumerator::... -
Gem
:: Installer . new(gem , options = {}) -> Gem :: Installer (54358.0) -
@todo 書いてないオプションがいっぱいある
@todo 書いてないオプションがいっぱいある
与えられた引数で自身を初期化します。
@param gem インストール対象の Gem のパスを指定します。
@param options インストーラが使用するオプションをハッシュで指定します。
使用できるキーは以下の通りです。
: :env_shebang
コマンドのラッパーで shebang line に /usr/bin/env を使用します。
: :force
署名された Gem のみをインストールするというポリシー以外、
全てのバージョンチェックとセキュリティポリシーのチェックを行わない... -
Gem
:: Requirement . new(requirements) -> Gem :: Requirement (54358.0) -
Gem::Requirement のインスタンスを作成します。
Gem::Requirement のインスタンスを作成します。
@param requirements 文字列か配列か Gem::Version のインスタンスを指定します。
//emlist[][ruby]{
pp Gem::Requirement.new("~> 3.2.1")
# => Gem::Requirement.new(["~> 3.2.1"])
//}
@see Gem::Requirement#parse, Gem::Requirement.create -
Rake
:: InvocationChain . new(task _ name , tail) (54358.0) -
与えられたタスク名と一つ前の Rake::InvocationChain を用いて自身を初期化します。
与えられたタスク名と一つ前の Rake::InvocationChain を用いて自身を初期化します。
@param task_name タスク名を指定します。
@param tail 一つ前の Rake::InvocationChain を指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
tail = Rake::InvocationChain.new("task_a", Rake::InvocationChain::EMPTY)
... -
Rake
:: NameSpace . new(task _ manager , scope _ list) (54358.0) -
自身を初期化します。
自身を初期化します。
@param task_manager Rake::Application のインスタンスを指定します。
@param scope_list 名前空間のリストを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
name_space = Rake::NameSpace.new(Rake.application, Rake::Scope.new("sample"))
name_space.scope # => LL(... -
Rake
:: TaskArguments . new(names , values , parent = nil) (54358.0) -
自身を初期化します。
自身を初期化します。
@param names パラメータの名前のリストを指定します。
@param values パラメータの値のリストを指定します。
@param parent 親となる Rake::TaskArguments を指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
arguments1 = Rake::TaskArguments.new(["name1", "name2"], ["value1", "value2"])... -
KeyError
. new(error _ message = "") -> KeyError (54349.0) -
例外オブジェクトを生成して返します。
例外オブジェクトを生成して返します。
@param error_message エラーメッセージを表す文字列です
@param receiver 原因となったメソッド呼び出しのレシーバ
@param key 原因となったメソッド呼び出しのキー
//emlist[例][ruby]{
h = {foo: 1}
err = KeyError.new("Message", receiver: h, key: :bar)
p err.message # => "Message"
p err.receiver # => {:foo=>1}
p err.key # => :ba... -
KeyError
. new(error _ message = "" , key:) -> KeyError (54349.0) -
例外オブジェクトを生成して返します。
例外オブジェクトを生成して返します。
@param error_message エラーメッセージを表す文字列です
@param receiver 原因となったメソッド呼び出しのレシーバ
@param key 原因となったメソッド呼び出しのキー
//emlist[例][ruby]{
h = {foo: 1}
err = KeyError.new("Message", receiver: h, key: :bar)
p err.message # => "Message"
p err.receiver # => {:foo=>1}
p err.key # => :ba... -
KeyError
. new(error _ message = "" , receiver:) -> KeyError (54349.0) -
例外オブジェクトを生成して返します。
例外オブジェクトを生成して返します。
@param error_message エラーメッセージを表す文字列です
@param receiver 原因となったメソッド呼び出しのレシーバ
@param key 原因となったメソッド呼び出しのキー
//emlist[例][ruby]{
h = {foo: 1}
err = KeyError.new("Message", receiver: h, key: :bar)
p err.message # => "Message"
p err.receiver # => {:foo=>1}
p err.key # => :ba... -
KeyError
. new(error _ message = "" , receiver: , key:) -> KeyError (54349.0) -
例外オブジェクトを生成して返します。
例外オブジェクトを生成して返します。
@param error_message エラーメッセージを表す文字列です
@param receiver 原因となったメソッド呼び出しのレシーバ
@param key 原因となったメソッド呼び出しのキー
//emlist[例][ruby]{
h = {foo: 1}
err = KeyError.new("Message", receiver: h, key: :bar)
p err.message # => "Message"
p err.receiver # => {:foo=>1}
p err.key # => :ba... -
Time
. new -> Time (54349.0) -
現在時刻の Time オブジェクトを生成して返します。 タイムゾーンは地方時となります。
現在時刻の Time オブジェクトを生成して返します。
タイムゾーンは地方時となります。
//emlist[][ruby]{
p Time.now # => 2009-06-24 12:39:54 +0900
//} -
FrozenError
. new(error _ message = "") -> FrozenError (54343.0) -
例外オブジェクトを生成して返します。
例外オブジェクトを生成して返します。
@param error_message エラーメッセージを表す文字列です
@param receiver 原因となったメソッド呼び出しのレシーバです
//emlist[][ruby]{
err = FrozenError.new("message")
p err # => #<FrozenError: message>
//} -
FrozenError
. new(error _ message = "" , receiver:) -> FrozenError (54343.0) -
例外オブジェクトを生成して返します。
例外オブジェクトを生成して返します。
@param error_message エラーメッセージを表す文字列です
@param receiver 原因となったメソッド呼び出しのレシーバです
//emlist[][ruby]{
err = FrozenError.new("message")
p err # => #<FrozenError: message>
//} -
OptionParser
. new(banner = nil , width = 32 , indent = & # 39; & # 39; * 4) -> OptionParser (54343.0) -
OptionParser オブジェクトを生成して返します。
OptionParser オブジェクトを生成して返します。
ブロックが与えられた場合、生成した OptionParser オブジェクトを引数としてブロックを評
価します。つまり、以下のような書き方が可能です。
//emlist[][ruby]{
require 'optparse'
OptionParser.new do |opt|
opt.on('-a') {|v| p v }
opt.on('-b') {|v| p v }
opt.parse!(ARGV)
end
//}
@param banner ヘルプ(サマリ)の最初の部分に表示される、アプリケーションの説明な... -
OptionParser
. new(banner = nil , width = 32 , indent = & # 39; & # 39; * 4) {|opt| . . . } -> OptionParser (54343.0) -
OptionParser オブジェクトを生成して返します。
OptionParser オブジェクトを生成して返します。
ブロックが与えられた場合、生成した OptionParser オブジェクトを引数としてブロックを評
価します。つまり、以下のような書き方が可能です。
//emlist[][ruby]{
require 'optparse'
OptionParser.new do |opt|
opt.on('-a') {|v| p v }
opt.on('-b') {|v| p v }
opt.parse!(ARGV)
end
//}
@param banner ヘルプ(サマリ)の最初の部分に表示される、アプリケーションの説明な... -
Enumerator
:: Chain . new(*enums) -> Enumerator :: Chain (54340.0) -
複数の Enumerable から、1つの新しい Enumerator を作って返します。
複数の Enumerable から、1つの新しい Enumerator を作って返します。
//emlist[例][ruby]{
e = Enumerator::Chain.new(1..3, [4, 5])
e.to_a #=> [1, 2, 3, 4, 5]
e.size #=> 5
//} -
Fiber
. new {|obj| . . . } -> Fiber (54340.0) -
与えられたブロックとともにファイバーを生成して返します。 ブロックは Fiber#resume に与えられた引数をその引数として実行されます。
与えられたブロックとともにファイバーを生成して返します。
ブロックは Fiber#resume に与えられた引数をその引数として実行されます。
ブロックが終了した場合は親にコンテキストが切り替わります。
その時ブロックの評価値が返されます。
//emlist[例:][ruby]{
a = nil
f = Fiber.new do |obj|
a = obj
:hoge
end
b = f.resume(:foo)
p a #=> :foo
p b #=> :hoge
//} -
Object
. new -> Object (54340.0) -
Objectクラスのインスタンスを生成して返します。
Objectクラスのインスタンスを生成して返します。
//emlist[][ruby]{
some = Object.new
p some #=> #<Object:0x2b696d8>
//} -
Pathname
. new(path) -> Pathname (54340.0) -
文字列 path を元に Pathname オブジェクトを生成します。
文字列 path を元に Pathname オブジェクトを生成します。
@param path 文字列、または類似のオブジェクトを与えます。
実際には to_str に反応するオブジェクトなら何でも構いません。
@raise ArgumentError path が \0 を含んでいると発生します。
//emlist[例][ruby]{
require "pathname"
Pathname.new(__FILE__) # => #<Pathname:/path/to/file.rb>
//} -
Rake
:: PackageTask . new(name = nil , version = nil) {|t| . . . } -> Rake :: PackageTask (54340.0) -
自身を初期化してタスクを定義します。
自身を初期化してタスクを定義します。
ブロックが与えられた場合は、自身をブロックパラメータとして
ブロックを評価します。
@param name パッケージ名を指定します。
@param version パッケージのバージョンを指定します。
':noversion' というシンボルを指定するとバージョン情報をセットしません。
//emlist[][ruby]{
# Rakefile での記載例とする
require 'rake/packagetask'
Rake::PackageTask.new("sample", "1.0.0") do |packa... -
StringIO
. new(string = & # 39;& # 39; , mode = & # 39;r+& # 39;) -> StringIO (54340.0) -
StringIO オブジェクトを生成して返します。
StringIO オブジェクトを生成して返します。
与えられた string がフリーズされている場合には、mode はデフォルトでは読み取りのみに設定されます。
ブロックを与えた場合は生成した StringIO オブジェクトを引数としてブロックを評価してその結果を返します。
@param string 生成される StringIO のデータを文字列で指定します。
この文字列はバッファとして使われます。StringIO#write などによって、
string 自身も書き換えられます。
@param mode Kernel.#op... -
StringScanner
. new(str , dup = false) -> StringScanner (54340.0) -
新しい StringScanner オブジェクトを生成します。
新しい StringScanner オブジェクトを生成します。
@param str スキャン対象の文字列を指定します。
@param dup dup は単に無視します。
引数の文字列は複製も freeze もされず、そのまま使います。
//emlist[例][ruby]{
require 'strscan'
s = StringScanner.new('This is an example string')
s.eos? #=> false
p s.scan(/\w+/) #=> "This"
p s.scan(/\w+/) #... -
WEBrick
:: GenericServer . new(config = {} , default = WEBrick :: Config :: General) -> WEBrick :: GenericServer (54340.0) -
GenericServer オブジェクトを生成して返します。
GenericServer オブジェクトを生成して返します。
config で有効な項目が増えます。以下は増える項目とそのデフォルト値です。
:ServerSoftware => "#{svrsoft} OpenSSL/#{osslv}",
:SSLEnable => true, # Ruby 1.8.3 以降では false がデフォルトです。
:SSLCertificate => nil,
:SSLPrivateKey => nil,
:SSLClientCA => nil,
:SS... -
OpenSSL
:: BN . new(bn) -> OpenSSL :: BN (54334.0) -
OpenSSL::BN を複製して返します。
OpenSSL::BN を複製して返します。
@param bn 複製する OpenSSL::BN オブジェクト -
OpenSSL
:: BN . new(integer) -> OpenSSL :: BN (54334.0) -
整数オブジェクト(Integer)から多倍長整数オブジェクト (OpenSSL::BN)を生成します。
整数オブジェクト(Integer)から多倍長整数オブジェクト
(OpenSSL::BN)を生成します。
@param integer 整数オブジェクト
@see Integer#to_bn -
OpenSSL
:: ASN1 :: BMPString . new(value) -> OpenSSL :: ASN1 :: BMPString (54325.0) -
ASN.1 の BMPString 型の値を表現する OpenSSL::ASN1::BMPString オブジェクトを 生成します。
ASN.1 の BMPString 型の値を表現する OpenSSL::ASN1::BMPString オブジェクトを
生成します。
value 以外の引数を省略した場合はタグクラスは :UNIVERSAL、
タグ は OpenSSL::ASN1::BMPSTRING となります。
@param value ASN.1 値を表す Ruby のオブジェクト(文字列)
@param tag タグ番号
@param tagging タグ付けの方法(:IMPLICIT もしくは :EXPLICIT)
@param tag_class タグクラス(:UNIVERSAL, :CONTEXT_SPECI... -
OpenSSL
:: ASN1 :: BMPString . new(value , tag , tagging , tag _ class) -> OpenSSL :: ASN1 :: BMPString (54325.0) -
ASN.1 の BMPString 型の値を表現する OpenSSL::ASN1::BMPString オブジェクトを 生成します。
ASN.1 の BMPString 型の値を表現する OpenSSL::ASN1::BMPString オブジェクトを
生成します。
value 以外の引数を省略した場合はタグクラスは :UNIVERSAL、
タグ は OpenSSL::ASN1::BMPSTRING となります。
@param value ASN.1 値を表す Ruby のオブジェクト(文字列)
@param tag タグ番号
@param tagging タグ付けの方法(:IMPLICIT もしくは :EXPLICIT)
@param tag_class タグクラス(:UNIVERSAL, :CONTEXT_SPECI... -
OpenSSL
:: ASN1 :: BitString . new(value) -> OpenSSL :: ASN1 :: BitString (54325.0) -
ASN.1 の Bit String 型の値を表現する OpenSSL::ASN1::BitString オブジェクトを 生成します。
ASN.1 の Bit String 型の値を表現する OpenSSL::ASN1::BitString オブジェクトを
生成します。
value 以外の引数を省略した場合はタグクラスは :UNIVERSAL、
タグ は OpenSSL::ASN1::BIT_STRING となります。
@param value ASN.1 値を表す Ruby のオブジェクト(文字列)
@param tag タグ番号
@param tagging タグ付けの方法(:IMPLICIT もしくは :EXPLICIT)
@param tag_class タグクラス(:UNIVERSAL, :CONTEXT_SPE... -
OpenSSL
:: ASN1 :: BitString . new(value , tag , tagging , tag _ class) -> OpenSSL :: ASN1 :: BitString (54325.0) -
ASN.1 の Bit String 型の値を表現する OpenSSL::ASN1::BitString オブジェクトを 生成します。
ASN.1 の Bit String 型の値を表現する OpenSSL::ASN1::BitString オブジェクトを
生成します。
value 以外の引数を省略した場合はタグクラスは :UNIVERSAL、
タグ は OpenSSL::ASN1::BIT_STRING となります。
@param value ASN.1 値を表す Ruby のオブジェクト(文字列)
@param tag タグ番号
@param tagging タグ付けの方法(:IMPLICIT もしくは :EXPLICIT)
@param tag_class タグクラス(:UNIVERSAL, :CONTEXT_SPE... -
OpenSSL
:: ASN1 :: Boolean . new(value) -> OpenSSL :: ASN1 :: Boolean (54325.0) -
ASN.1 の Boolean 型の値を表現する OpenSSL::ASN1::Boolean オブジェクトを 生成します。
ASN.1 の Boolean 型の値を表現する OpenSSL::ASN1::Boolean オブジェクトを
生成します。
value 以外の引数を省略した場合はタグクラスは :UNIVERSAL、
タグ は OpenSSL::ASN1::BOOLEAN となります。
@param value ASN.1 値を表す Ruby のオブジェクト(true もしくは false)
@param tag タグ番号
@param tagging タグ付けの方法(:IMPLICIT もしくは :EXPLICIT)
@param tag_class タグクラス(:UNIVERSAL, :CONTEXT... -
OpenSSL
:: ASN1 :: Boolean . new(value , tag , tagging , tag _ class) -> OpenSSL :: ASN1 :: Boolean (54325.0) -
ASN.1 の Boolean 型の値を表現する OpenSSL::ASN1::Boolean オブジェクトを 生成します。
ASN.1 の Boolean 型の値を表現する OpenSSL::ASN1::Boolean オブジェクトを
生成します。
value 以外の引数を省略した場合はタグクラスは :UNIVERSAL、
タグ は OpenSSL::ASN1::BOOLEAN となります。
@param value ASN.1 値を表す Ruby のオブジェクト(true もしくは false)
@param tag タグ番号
@param tagging タグ付けの方法(:IMPLICIT もしくは :EXPLICIT)
@param tag_class タグクラス(:UNIVERSAL, :CONTEXT... -
OpenSSL
:: ASN1 :: Enumerated . new(value) -> OpenSSL :: ASN1 :: Boolean (54325.0) -
ASN.1 の Enumerated 型の値を表現する OpenSSL::ASN1::Enumerated オブジェクトを 生成します。
ASN.1 の Enumerated 型の値を表現する OpenSSL::ASN1::Enumerated オブジェクトを
生成します。
value 以外の引数を省略した場合はタグクラスは :UNIVERSAL、
タグ は OpenSSL::ASN1::ENUMERATED となります。
@param value ASN.1 値を表す Ruby のオブジェクト(0以上の整数)
@param tag タグ番号
@param tagging タグ付けの方法(:IMPLICIT もしくは :EXPLICIT)
@param tag_class タグクラス(:UNIVERSAL, :CONTEXT... -
OpenSSL
:: ASN1 :: Enumerated . new(value , tag , tagging , tag _ class) -> OpenSSL :: ASN1 :: Boolean (54325.0) -
ASN.1 の Enumerated 型の値を表現する OpenSSL::ASN1::Enumerated オブジェクトを 生成します。
ASN.1 の Enumerated 型の値を表現する OpenSSL::ASN1::Enumerated オブジェクトを
生成します。
value 以外の引数を省略した場合はタグクラスは :UNIVERSAL、
タグ は OpenSSL::ASN1::ENUMERATED となります。
@param value ASN.1 値を表す Ruby のオブジェクト(0以上の整数)
@param tag タグ番号
@param tagging タグ付けの方法(:IMPLICIT もしくは :EXPLICIT)
@param tag_class タグクラス(:UNIVERSAL, :CONTEXT... -
OpenSSL
:: ASN1 :: GeneralString . new(value) -> OpenSSL :: ASN1 :: GeneralString (54325.0) -
ASN.1 の GeneralString 型の値を表現する OpenSSL::ASN1::GeneralString オブジェクトを 生成します。
ASN.1 の GeneralString 型の値を表現する OpenSSL::ASN1::GeneralString オブジェクトを
生成します。
value 以外の引数を省略した場合はタグクラスは :UNIVERSAL、
タグ は OpenSSL::ASN1::GENERALSTRING となります。
@param value ASN.1 値を表す Ruby のオブジェクト(文字列)
@param tag タグ番号
@param tagging タグ付けの方法(:IMPLICIT もしくは :EXPLICIT)
@param tag_class タグクラス(:UNIVERSAL, :C... -
OpenSSL
:: ASN1 :: GeneralString . new(value , tag , tagging , tag _ class) -> OpenSSL :: ASN1 :: GeneralString (54325.0) -
ASN.1 の GeneralString 型の値を表現する OpenSSL::ASN1::GeneralString オブジェクトを 生成します。
ASN.1 の GeneralString 型の値を表現する OpenSSL::ASN1::GeneralString オブジェクトを
生成します。
value 以外の引数を省略した場合はタグクラスは :UNIVERSAL、
タグ は OpenSSL::ASN1::GENERALSTRING となります。
@param value ASN.1 値を表す Ruby のオブジェクト(文字列)
@param tag タグ番号
@param tagging タグ付けの方法(:IMPLICIT もしくは :EXPLICIT)
@param tag_class タグクラス(:UNIVERSAL, :C... -
OpenSSL
:: ASN1 :: GeneralizedTime . new(value) -> OpenSSL :: ASN1 :: GeneralizedTime (54325.0) -
ASN.1 の GeneralizedTime 型の値を表現する OpenSSL::ASN1::GeneralizedTime オブジェクトを 生成します。
ASN.1 の GeneralizedTime 型の値を表現する OpenSSL::ASN1::GeneralizedTime オブジェクトを
生成します。
value 以外の引数を省略した場合はタグクラスは :UNIVERSAL、
タグ は OpenSSL::ASN1::GENERALIZEDTIME となります。
@param value ASN.1 値を表す Ruby のオブジェクト(Timeオブジェクト)
@param tag タグ番号
@param tagging タグ付けの方法(:IMPLICIT もしくは :EXPLICIT)
@param tag_class タグクラス(:... -
OpenSSL
:: ASN1 :: GeneralizedTime . new(value , tag , tagging , tag _ class) -> OpenSSL :: ASN1 :: GeneralizedTime (54325.0) -
ASN.1 の GeneralizedTime 型の値を表現する OpenSSL::ASN1::GeneralizedTime オブジェクトを 生成します。
ASN.1 の GeneralizedTime 型の値を表現する OpenSSL::ASN1::GeneralizedTime オブジェクトを
生成します。
value 以外の引数を省略した場合はタグクラスは :UNIVERSAL、
タグ は OpenSSL::ASN1::GENERALIZEDTIME となります。
@param value ASN.1 値を表す Ruby のオブジェクト(Timeオブジェクト)
@param tag タグ番号
@param tagging タグ付けの方法(:IMPLICIT もしくは :EXPLICIT)
@param tag_class タグクラス(:... -
OpenSSL
:: ASN1 :: GraphicString . new(value) -> OpenSSL :: ASN1 :: GraphicString (54325.0) -
ASN.1 の GraphicString 型の値を表現する OpenSSL::ASN1::GraphicString オブジェクトを 生成します。
ASN.1 の GraphicString 型の値を表現する OpenSSL::ASN1::GraphicString オブジェクトを
生成します。
value 以外の引数を省略した場合はタグクラスは :UNIVERSAL、
タグ は OpenSSL::ASN1::GRAPHICSTRING となります。
@param value ASN.1 値を表す Ruby のオブジェクト(文字列)
@param tag タグ番号
@param tagging タグ付けの方法(:IMPLICIT もしくは :EXPLICIT)
@param tag_class タグクラス(:UNIVERSAL, :C... -
OpenSSL
:: ASN1 :: GraphicString . new(value , tag , tagging , tag _ class) -> OpenSSL :: ASN1 :: GraphicString (54325.0) -
ASN.1 の GraphicString 型の値を表現する OpenSSL::ASN1::GraphicString オブジェクトを 生成します。
ASN.1 の GraphicString 型の値を表現する OpenSSL::ASN1::GraphicString オブジェクトを
生成します。
value 以外の引数を省略した場合はタグクラスは :UNIVERSAL、
タグ は OpenSSL::ASN1::GRAPHICSTRING となります。
@param value ASN.1 値を表す Ruby のオブジェクト(文字列)
@param tag タグ番号
@param tagging タグ付けの方法(:IMPLICIT もしくは :EXPLICIT)
@param tag_class タグクラス(:UNIVERSAL, :C... -
OpenSSL
:: ASN1 :: IA5String . new(value) -> OpenSSL :: ASN1 :: IA5String (54325.0) -
ASN.1 の IA5String 型の値を表現する OpenSSL::ASN1::IA5String オブジェクトを 生成します。
ASN.1 の IA5String 型の値を表現する OpenSSL::ASN1::IA5String オブジェクトを
生成します。
value 以外の引数を省略した場合はタグクラスは :UNIVERSAL、
タグ は OpenSSL::ASN1::IA5STRING となります。
@param value ASN.1 値を表す Ruby のオブジェクト(文字列)
@param tag タグ番号
@param tagging タグ付けの方法(:IMPLICIT もしくは :EXPLICIT)
@param tag_class タグクラス(:UNIVERSAL, :CONTEXT_SPECI... -
OpenSSL
:: ASN1 :: IA5String . new(value , tag , tagging , tag _ class) -> OpenSSL :: ASN1 :: IA5String (54325.0) -
ASN.1 の IA5String 型の値を表現する OpenSSL::ASN1::IA5String オブジェクトを 生成します。
ASN.1 の IA5String 型の値を表現する OpenSSL::ASN1::IA5String オブジェクトを
生成します。
value 以外の引数を省略した場合はタグクラスは :UNIVERSAL、
タグ は OpenSSL::ASN1::IA5STRING となります。
@param value ASN.1 値を表す Ruby のオブジェクト(文字列)
@param tag タグ番号
@param tagging タグ付けの方法(:IMPLICIT もしくは :EXPLICIT)
@param tag_class タグクラス(:UNIVERSAL, :CONTEXT_SPECI... -
OpenSSL
:: ASN1 :: ISO64String . new(value) -> OpenSSL :: ASN1 :: ISO64String (54325.0) -
ASN.1 の ISO64String 型の値を表現する OpenSSL::ASN1::ISO64String オブジェクトを 生成します。
ASN.1 の ISO64String 型の値を表現する OpenSSL::ASN1::ISO64String オブジェクトを
生成します。
value 以外の引数を省略した場合はタグクラスは :UNIVERSAL、
タグ は OpenSSL::ASN1::ISO64STRING となります。
@param value ASN.1 値を表す Ruby のオブジェクト(文字列)
@param tag タグ番号
@param tagging タグ付けの方法(:IMPLICIT もしくは :EXPLICIT)
@param tag_class タグクラス(:UNIVERSAL, :CONTEXT... -
OpenSSL
:: ASN1 :: ISO64String . new(value , tag , tagging , tag _ class) -> OpenSSL :: ASN1 :: ISO64String (54325.0) -
ASN.1 の ISO64String 型の値を表現する OpenSSL::ASN1::ISO64String オブジェクトを 生成します。
ASN.1 の ISO64String 型の値を表現する OpenSSL::ASN1::ISO64String オブジェクトを
生成します。
value 以外の引数を省略した場合はタグクラスは :UNIVERSAL、
タグ は OpenSSL::ASN1::ISO64STRING となります。
@param value ASN.1 値を表す Ruby のオブジェクト(文字列)
@param tag タグ番号
@param tagging タグ付けの方法(:IMPLICIT もしくは :EXPLICIT)
@param tag_class タグクラス(:UNIVERSAL, :CONTEXT...