4294件ヒット
[1-100件を表示]
(0.036秒)
別のキーワード
ライブラリ
- ビルトイン (148)
- bigdecimal (48)
-
cgi
/ core (12) -
cgi
/ util (144) - coverage (47)
- csv (252)
- date (72)
- digest (12)
-
drb
/ acl (12) - erb (12)
- fiddle (60)
- fileutils (48)
- gdbm (24)
-
io
/ console (12) - ipaddr (12)
-
irb
/ extend-command (48) -
irb
/ inspector (24) - json (108)
- logger (12)
- matrix (204)
-
net
/ http (72) -
net
/ imap (48) -
net
/ pop (84) -
net
/ smtp (32) - open-uri (24)
- openssl (192)
- optparse (48)
- ostruct (12)
- pathname (60)
- pp (20)
- prettyprint (12)
- prime (12)
- psych (20)
- rake (36)
-
rake
/ packagetask (12) - readline (180)
- resolv (36)
-
rexml
/ document (84) -
ripper
/ lexer (36) -
ripper
/ sexp (24) -
rubygems
/ requirement (48) -
rubygems
/ specification (48) - securerandom (80)
- set (27)
- shell (48)
- socket (708)
- stringio (36)
- strscan (12)
- tempfile (60)
-
test
/ unit (1) - thwait (18)
- time (108)
- tmpdir (36)
- tracer (72)
- tsort (93)
- uri (292)
-
webrick
/ httpproxy (12) -
webrick
/ httpresponse (12) -
webrick
/ httpstatus (12) -
webrick
/ log (12) - win32ole (12)
- zlib (168)
クラス
- ACL (12)
- Addrinfo (60)
- BasicSocket (24)
- BigDecimal (48)
- CGI (156)
- CSV (228)
-
CSV
:: Row (12) -
CSV
:: Table (12) - Coverage (47)
- Date (36)
- DateTime (36)
-
Digest
:: Base (12) - Dir (117)
- ERB (12)
- Enumerator (6)
-
Fiddle
:: Function (12) -
Fiddle
:: Handle (24) -
Fiddle
:: Pointer (24) - File (12)
- GDBM (24)
-
Gem
:: Requirement (48) -
Gem
:: Specification (48) - IO (12)
- IPAddr (12)
- IPSocket (12)
-
IRB
:: Inspector (12) - Integer (12)
-
JSON
:: Parser (12) -
JSON
:: State (24) - Logger (12)
- Matrix (160)
-
Net
:: HTTP (60) -
Net
:: HTTPResponse (12) -
Net
:: IMAP (48) -
Net
:: POP3 (84) -
Net
:: SMTP (32) - Object (12)
-
OpenSSL
:: ASN1 :: ObjectId (36) -
OpenSSL
:: BN (36) -
OpenSSL
:: Cipher (12) -
OpenSSL
:: PKCS7 (12) -
OpenSSL
:: PKey :: EC (12) -
OpenSSL
:: X509 :: Extension (24) -
OpenSSL
:: X509 :: Name (60) - OpenStruct (12)
- OptionParser (48)
- PP (20)
- Pathname (60)
- PrettyPrint (12)
-
REXML
:: CData (12) -
REXML
:: Entity (12) -
REXML
:: Text (24) -
REXML
:: XPath (36) -
Rake
:: FileList (12) -
Rake
:: PackageTask (12) - Range (12)
- Resolv (24)
-
Resolv
:: DNS (12) - Ripper (60)
- RubyVM (1)
-
RubyVM
:: InstructionSequence (24) - Set (27)
- Shell (48)
- Socket (372)
-
Socket
:: AncillaryData (60) -
Socket
:: Option (24) - StringIO (36)
- StringScanner (12)
- TCPSocket (12)
- Tempfile (60)
- Thread (12)
- ThreadsWait (18)
- Time (108)
- Tracer (72)
- UDPSocket (24)
- UNIXServer (48)
- UNIXSocket (72)
-
URI
:: FTP (36) -
URI
:: Generic (24) -
URI
:: HTTP (24) -
URI
:: LDAP (24) - Vector (44)
-
WEBrick
:: BasicLog (12) -
WEBrick
:: Cookie (24) -
WEBrick
:: HTTPProxyServer (12) -
WEBrick
:: HTTPResponse (12) - WIN32OLE (12)
-
Zlib
:: Deflate (24) -
Zlib
:: GzipReader (60) -
Zlib
:: GzipWriter (60) -
Zlib
:: Inflate (24)
モジュール
- FileUtils (48)
- IRB (12)
-
IRB
:: ContextExtender (24) -
IRB
:: ExtendCommandBundle (24) - JSON (60)
-
JSON
:: Generator :: GeneratorMethods :: String :: Extend (12) - OpenURI (24)
- Psych (8)
- Rake (24)
- Readline (36)
- SecureRandom (80)
- TSort (93)
-
Test
:: Unit (1) - URI (184)
-
WEBrick
:: HTTPStatus (12)
オブジェクト
-
Readline
:: HISTORY (144)
キーワード
- << (12)
- APOP (12)
- Inspector (12)
- Proxy (12)
- [] (93)
-
_ strptime (12) - accept (12)
-
alias
_ command (6) -
all
_ waits (12) - alphanumeric (8)
- application (12)
- application= (12)
-
attribute
_ alias _ singular (12) -
auth
_ only (12) - base64 (12)
- basis (12)
-
body
_ permitted? (12) - bool (12)
- build (96)
-
builtin
_ curves (12) - cd (6)
- ciphers (12)
- civil (12)
- codepage= (12)
-
collect
_ method (12) - columns (12)
- combine (16)
- commands (12)
-
compile
_ option (12) -
completion
_ append _ character= (12) -
completion
_ case _ fold (12) -
completion
_ proc= (12) - component (12)
- console (12)
- create (36)
-
create
_ id (12) -
create
_ id= (12) - decode (7)
-
decode
_ www _ form (12) -
decode
_ www _ form _ component (12) -
def
_ extend _ command (24) -
def
_ inspector (12) -
def
_ system _ command (6) - default (12)
-
default
_ port (12) -
default
_ system _ path (6) -
default
_ system _ path= (6) - deflate (12)
-
delete
_ all (24) -
delete
_ at (12) - diagonal (12)
-
do
_ not _ reverse _ lookup= (12) -
double
_ fig (12) - each (36)
-
each
_ strongly _ connected _ component (23) -
each
_ strongly _ connected _ component _ from (23) - elements (12)
- empty (12)
- empty? (21)
- encode (7)
-
encode
_ www _ form (12) -
encode
_ www _ form _ component (12) - escape (19)
- escapeElement (12)
- escapeHTML (12)
-
escape
_ element (12) -
escape
_ html (12) - extract (48)
- file (12)
- filter (36)
- first (12)
-
for
_ fd (12) - foreach (36)
- format (12)
-
format
_ date (12) -
format
_ datetime (12) -
from
_ prime _ division (12) -
from
_ state (12) - generate (12)
-
generate
_ line (12) -
get
_ print (24) - getaddress (24)
- getaddrinfo (24)
- gethostbyname (24)
- gethostname (12)
- getifaddrs (12)
- getname (12)
- getnameinfo (12)
- getservbyport (12)
- getwd (12)
- glob (24)
-
handle
_ interrupt (12) - hex (12)
- hstack (12)
- httpdate (12)
- inflate (12)
-
install
_ extend _ commands (24) -
install
_ system _ commands (6) - instance (24)
- int (12)
- ip (12)
-
ip
_ pktinfo (12) -
ipv6
_ pktinfo (12) - iso8601 (12)
- join (12)
-
json
_ create (12) - length (12)
- lex (12)
- limit (12)
-
line
_ stub (7) - match (12)
- matches? (12)
- mktmpdir (24)
- mode (24)
- new (684)
-
new
_ ntoh (12) - of (12)
- on (24)
- open (288)
-
open
_ uri (24) -
pack
_ sockaddr _ in (12) -
pack
_ sockaddr _ un (12) - pair (12)
- parse (120)
-
parse
_ line (12) -
parse
_ openssl (12) - parser (12)
- path (12)
-
peek
_ result (12) - pop (12)
- pp (12)
- pretty (12)
- produce (6)
- push (12)
- pwd (12)
-
random
_ bytes (12) -
random
_ number (12) - read (12)
- readlines (12)
- regexp (24)
- register (12)
- reject (12)
-
required
_ attribute (12) -
required
_ attribute? (12) -
required
_ attributes (12) -
resolve
_ feature _ path (1) - result (12)
-
rfc1123
_ date (12) - rfc2822 (12)
- rfc822 (12)
- rows (12)
- running? (8)
-
safe
_ load (8) - scalar (12)
-
set
_ get _ line _ procs (24) -
setup
_ argv (1) - sexp (12)
-
sexp
_ raw (12) -
sharing
_ detection (4) -
sharing
_ detection= (4) - shift (12)
- size (12)
- slice (12)
-
sockaddr
_ in (12) -
sockaddr
_ un (12) - socketpair (12)
- split (12)
- start (88)
- state (12)
- stdout= (12)
-
strongly
_ connected _ components (12) - strptime (36)
- tcp (36)
-
tcp
_ server _ loop (24) -
tcp
_ server _ sockets (48) - tmpdir (12)
-
to
_ ptr (12) -
to
_ s (12) - today (12)
- tokenize (12)
- tsort (12)
-
tsort
_ each (23) - udp (12)
-
udp
_ server _ recv (12) -
udp
_ server _ sockets (48) -
unalias
_ command (6) -
undef
_ system _ command (6) - unescape (19)
- unescapeElement (12)
- unescapeHTML (12)
-
unescape
_ element (12) -
unescape
_ html (12) - unix (36)
-
unix
_ rights (12) -
unix
_ server _ socket (24) - unnormalize (12)
-
unpack
_ sockaddr _ in (12) -
unpack
_ sockaddr _ un (12) -
urlsafe
_ base64 (12) - uuid (12)
- verbose= (12)
- vstack (12)
- wrap (48)
-
write
_ smime (12) - xmlschema (12)
-
yaml
_ tag (12) - zero (32)
検索結果
先頭5件
-
Gem
:: Specification . required _ attribute(name , default = nil) -> () (6101.0) -
必須の属性を作成します。
必須の属性を作成します。
@param name 属性名を指定します。
@param default デフォルト値を指定します。
@see Gem::Specification.attribute -
Gem
:: Specification . required _ attribute?(name) -> bool (6101.0) -
必須属性であれば真を返します。
必須属性であれば真を返します。
@param name 属性名を指定します。 -
Gem
:: Specification . required _ attributes -> Array (6101.0) -
必須属性のリストを返します。
必須属性のリストを返します。 -
Gem
:: Requirement . new(requirements) -> Gem :: Requirement (3201.0) -
Gem::Requirement のインスタンスを作成します。
...m::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::Requireme... -
Gem
:: Requirement . create(input) -> Gem :: Requirement (3101.0) -
Gem::Requirement のインスタンスを作成するためのファクトリメソッドです。
...Gem::Requirement のインスタンスを作成するためのファクトリメソッドです。
@param input 文字列か配列か Gem::Requirement, Gem::Version のインスタンス
のいずれかを指定します。
@return 上記以外の値を input に指定するとデフ......ォルト値を返します。
//emlist[][ruby]{
pp Gem::Requirement.create("~> 3.2.1")
# => Gem::Requirement.new(["~> 3.2.1"])
//}
@see Gem::Requirement.new, Gem::Requirement.default... -
Gem
:: Requirement . default -> Gem :: Requirement (3101.0) -
ゼロ以上 ( '>= 0' ) を指定して作成された Gem::Requirement のインスタンスを返します。
...ゼロ以上 ( '>= 0' ) を指定して作成された Gem::Requirement のインスタンスを返します。
//emlist[][ruby]{
pp Gem::Requirement.default
# => Gem::Requirement.new([">= 0"])
//}... -
Gem
:: Requirement . parse(obj) -> Array (3001.0) -
バージョンの必要上件をパースして比較演算子とバージョンを要素とする二要素の配列を返します。
...n 比較演算子と Gem::Version のインスタンスを要素とする二要素の配列を返します。
@raise ArgumentError obj に不正なオブジェクトを指定すると発生します。
//emlist[][ruby]{
p Gem::Requirement.parse("~> 3.2.1") # => ["~>", #<Gem::Version "3.2.1">]
//}... -
Test
:: Unit . setup _ argv(original _ argv = ARGV) { |files| . . . } -> [String] (41.0) -
original_argvで指定されたオプションを解析して、テスト対象になるファイル をrequireします。
...original_argvで指定されたオプションを解析して、テスト対象になるファイル
をrequireします。
@param original_argv オプションを指定します。省略された場合は、
Object::ARGVが使用されます。
@raise ArgumentError 指定さ......ファイルが存在しない場合に発生します。
ブロックが指定された場合にはブロックを評価して、その結果をrequireの対象
にします。
ブロックパラメータには上記のoriginal_argvから-xで指定されたもの以外のオ
プションが配......中にあるtest_*.rbを全てrequireします。
このメソッド自体は、オプションを解析してrequireを行う以外の処理は行いま
せんが、test/unit.rbをrequireして呼び出すメソッドのため、結果的にユニッ
トテストが実行されます。testrbコ... -
WEBrick
:: HTTPProxyServer . new(config , default = WEBrick :: Config :: HTTP) -> WEBrick :: HTTPProxyServer (37.0) -
プロクシオブジェクトを生成して返します。
...使用します。
//emlist{
require 'webrick'
require 'webrick/httpproxy'
auth_proc = proc{|req, res|
unless c = req['proxy-authorization']
res['Proxy-Authenticate'] = 'Basic realm="WEBrick Proxy"'
raise WEBrick::HTTPStatus::ProxyAuthenticationRequired
else
# 略
end
}......l(req, res) のように呼ばれます。
nil を指定した場合なにもしません。デフォルトは nil です。
//emlist{
require 'webrick'
require 'webrick/httpproxy'
handler = proc{|req, res|
res.body.gsub!(/です。/, 'でんがな。')
res.body.gsub!(/ます。/, 'まん......続にさらに別の Proxy サーバを使う場合にその Proxy の URI
を URI オブジェクトで指定します。
//emlist{
require 'uri'
require 'webrick/httpproxy'
u = URI.parse('http://localhost:18080/')
s = WEBrick::HTTPProxyServer.new(ProxyURI: u, Port: 8080)
//}
@param def... -
Gem
:: Specification . attribute _ alias _ singular(singular , plural) -> () (25.0) -
既に存在する複数形の属性の単数形バージョンを定義します。
...です。
例:
# このように定義すると
attribute_alias_singular :require_path, :require_paths
# こう書くかわりに
s.require_paths = ['mylib']
# こう書くことができます。
s.require_path = 'mylib'
@param singular 属性名の単数形を指定します。
@pa...