別のキーワード
ライブラリ
- csv (108)
- fiddle (12)
-
net
/ pop (12) -
net
/ smtp (32) - open-uri (24)
- rake (24)
-
rubygems
/ requirement (24) -
rubygems
/ specification (12) - shell (12)
- uri (12)
-
webrick
/ httpproxy (12) - win32ole (12)
- zlib (84)
クラス
- CSV (108)
-
Fiddle
:: Function (12) -
Gem
:: Requirement (24) -
Gem
:: Specification (12) -
Net
:: POP3 (12) -
Net
:: SMTP (32) - Shell (12)
-
URI
:: Generic (12) -
WEBrick
:: HTTPProxyServer (12) - WIN32OLE (12)
-
Zlib
:: Deflate (24) -
Zlib
:: GzipWriter (60)
キーワード
- application (12)
- application= (12)
-
auth
_ only (12) - codepage= (12)
- create (12)
-
default
_ port (12) -
default
_ system _ path (6) -
default
_ system _ path= (6) - deflate (12)
- foreach (24)
- new (60)
- open (72)
-
open
_ uri (24) - read (12)
- readlines (12)
-
required
_ attribute (12) - start (32)
- wrap (24)
検索結果
先頭5件
-
Gem
:: Requirement . default -> Gem :: Requirement (21208.0) -
ゼロ以上 ( '>= 0' ) を指定して作成された Gem::Requirement のインスタンスを返します。
...ゼロ以上 ( '>= 0' ) を指定して作成された Gem::Requirement のインスタンスを返します。
//emlist[][ruby]{
pp Gem::Requirement.default
# => Gem::Requirement.new([">= 0"])
//}... -
Gem
:: Specification . required _ attribute(name , default = nil) -> () (6208.0) -
必須の属性を作成します。
...必須の属性を作成します。
@param name 属性名を指定します。
@param default デフォルト値を指定します。
@see Gem::Specification.attribute... -
URI
:: Generic . default _ port -> Integer | nil (6150.0) -
スキームに対応するデフォルトのポート番号を整数で返します。
...ます。
require 'uri'
URI::Generic.default_port # => nil
URI::FTP.default_port # => 21
URI::HTTP.default_port # => 80
URI::HTTPS.default_port # => 443
URI::LDAP.default_port # => 389
URI::LDAPS.default_port # => 636
URI::MailTo.default_port... -
Shell
. default _ system _ path -> Array (6127.0) -
Shellでもちいられるコマンドを検索する対象のパスを設定および、参照します。
...す。
動作例
require 'shell'
p Shell.default_system_path
# 例
#=> [ "/opt/local/bin", "/opt/local/sbin", "/usr/bin", "/bin", "/usr/sbin", "/sbin", "/usr/local/bin", "/usr/X11/bin", "/Users/kouya/bin"]
Shell.default_system_path = ENV["HOME"] + "/bin"
p Shell.default_system_path
#... -
Shell
. default _ system _ path=(path) (6127.0) -
Shellでもちいられるコマンドを検索する対象のパスを設定および、参照します。
...す。
動作例
require 'shell'
p Shell.default_system_path
# 例
#=> [ "/opt/local/bin", "/opt/local/sbin", "/usr/bin", "/bin", "/usr/sbin", "/sbin", "/usr/local/bin", "/usr/X11/bin", "/Users/kouya/bin"]
Shell.default_system_path = ENV["HOME"] + "/bin"
p Shell.default_system_path
#... -
Gem
:: Requirement . create(input) -> Gem :: Requirement (3107.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... -
Zlib
:: GzipWriter . open(filename , level = Zlib :: DEFAULT _ COMPRESSION , strategy = Zlib :: DEFAULT _ STRATEGY) -> Zlib :: GzipWriter (223.0) -
filename で指定されるファイルを gzip 圧縮データの 書き出し用にオープンします。GzipWriter オブジェクトを返します。 その他詳細は Zlib::GzipWriter.new や Zlib::GzipWriter.wrap と 同じです。
...SSION, Zlib::DEFAULT_COMPRESSION を指定します。
詳細はzlib.hを参照してください。
@param strategy Zlib::FILTERED, Zlib::HUFFMAN_ONLY, Zlib::DEFAULT_STRATEGYなど指定します。
詳細はzlib.h を参照してください。
require 'zlib'
fi... -
Zlib
:: GzipWriter . open(filename , level = Zlib :: DEFAULT _ COMPRESSION , strategy = Zlib :: DEFAULT _ STRATEGY) {|gz| . . . } -> object (223.0) -
filename で指定されるファイルを gzip 圧縮データの 書き出し用にオープンします。GzipWriter オブジェクトを返します。 その他詳細は Zlib::GzipWriter.new や Zlib::GzipWriter.wrap と 同じです。
...SSION, Zlib::DEFAULT_COMPRESSION を指定します。
詳細はzlib.hを参照してください。
@param strategy Zlib::FILTERED, Zlib::HUFFMAN_ONLY, Zlib::DEFAULT_STRATEGYなど指定します。
詳細はzlib.h を参照してください。
require 'zlib'
fi... -
Net
:: SMTP . start(address , port = Net :: SMTP . default _ port , helo = & # 39;localhost& # 39; , user = nil , password = nil , authtype = DEFAULT _ AUTH _ TYPE) -> Net :: SMTP (221.0) -
新しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。
...新しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。
以下と同じです。
require 'net/smtp'
Net::SMTP.new(address, port).start(helo: helo, user: user, password: password, authtype: authtype)
このメソッドにブロックを与......証を行います。
authtype は使用する認証のタイプで、
シンボルで :plain, :login, :cram_md5 を指定します。
Example:
require 'net/smtp'
Net::SMTP.start('smtp.example.com') {|smtp|
smtp.send_message mail_string, 'from@example.jp', 'to@example.jp'
}
@param addr... -
Net
:: SMTP . start(address , port = Net :: SMTP . default _ port , helo = & # 39;localhost& # 39; , user = nil , password = nil , authtype = DEFAULT _ AUTH _ TYPE) {|smtp| . . . . } -> object (221.0) -
新しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。
...新しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。
以下と同じです。
require 'net/smtp'
Net::SMTP.new(address, port).start(helo: helo, user: user, password: password, authtype: authtype)
このメソッドにブロックを与......証を行います。
authtype は使用する認証のタイプで、
シンボルで :plain, :login, :cram_md5 を指定します。
Example:
require 'net/smtp'
Net::SMTP.start('smtp.example.com') {|smtp|
smtp.send_message mail_string, 'from@example.jp', 'to@example.jp'
}
@param addr... -
Net
:: SMTP . start(address , port = Net :: SMTP . default _ port , tls _ verify: true , tls _ hostname: nil , helo: & # 39;localhost& # 39; , user: nil , password: nil , authtype: DEFAULT _ AUTH _ TYPE) -> Net :: SMTP (221.0) -
新しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。
...新しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。
以下と同じです。
require 'net/smtp'
Net::SMTP.new(address, port).start(helo: helo, user: user, password: password, authtype: authtype)
このメソッドにブロックを与......証を行います。
authtype は使用する認証のタイプで、
シンボルで :plain, :login, :cram_md5 を指定します。
Example:
require 'net/smtp'
Net::SMTP.start('smtp.example.com') {|smtp|
smtp.send_message mail_string, 'from@example.jp', 'to@example.jp'
}
@param addr... -
Net
:: SMTP . start(address , port = Net :: SMTP . default _ port , tls _ verify: true , tls _ hostname: nil , helo: & # 39;localhost& # 39; , user: nil , password: nil , authtype: DEFAULT _ AUTH _ TYPE) {|smtp| . . . } -> object (221.0) -
新しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。
...新しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。
以下と同じです。
require 'net/smtp'
Net::SMTP.new(address, port).start(helo: helo, user: user, password: password, authtype: authtype)
このメソッドにブロックを与......証を行います。
authtype は使用する認証のタイプで、
シンボルで :plain, :login, :cram_md5 を指定します。
Example:
require 'net/smtp'
Net::SMTP.start('smtp.example.com') {|smtp|
smtp.send_message mail_string, 'from@example.jp', 'to@example.jp'
}
@param addr...