236件ヒット
[1-100件を表示]
(0.285秒)
種類
- インスタンスメソッド (158)
- 文書 (34)
- ライブラリ (22)
- 特異メソッド (22)
ライブラリ
- ビルトイン (26)
- date (11)
- openssl (11)
- optparse (44)
-
racc
/ parser (11) - rexml (11)
-
rexml
/ document (11) - uri (55)
クラス
- DateTime (11)
- Object (26)
-
OpenSSL
:: X509 :: Name (11) - OptionParser (22)
-
OptionParser
:: ParseError (22) -
REXML
:: ParseException (11) -
REXML
:: Text (11) -
Racc
:: Parser (11) -
URI
:: Generic (55)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) -
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 2
. 7 . 0 (5) - help (11)
- merge! (11)
- new (11)
- normalize (11)
- normalize! (11)
-
optparse
/ date (11) - rss (11)
-
ruby 1
. 6 feature (11) - then (12)
-
token
_ to _ str (11) - userinfo= (11)
-
yield
_ self (14)
検索結果
先頭5件
-
OptionParser
:: ParseError # to _ s -> String (21101.0) -
標準エラーに出力するメッセージを返します。
標準エラーに出力するメッセージを返します。
@return 文字列を返します。 -
REXML
:: ParseException # to _ s -> String (21101.0) -
例外情報を文字列化して返します。
例外情報を文字列化して返します。 -
OpenSSL
:: X509 :: Name # to _ s(flags=nil) -> String (18137.0) -
DNの文字列表現を返します。
...'
n = OpenSSL::X509::Name.parse('/C=JP/ST=Kanagawa/L=Yokohama/O=Example Company/OU=Lab3/CN=foobar/emailAddress=foobar@lab3.example.co.jp')
n.to_s
# => "/C=JP/ST=Kanagawa/L=Yokohama/O=Example Company/OU=Lab3/CN=foobar/emailAddress=foobar@lab3.example.co.jp"
n.to_s(OpenSSL::X509::Name::COMPAT......Company, OU=Lab3, CN=foobar/emailAddress=foobar@lab3.example.co.jp"
n.to_s(OpenSSL::X509::Name::RFC2253)
# => "emailAddress=foobar@lab3.example.co.jp,CN=foobar,OU=Lab3,O=Example Company,L=Yokohama,ST=Kanagawa,C=JP"
n.to_s(OpenSSL::X509::Name::ONELINE)
# => "C = JP, ST = Kanagawa, L = Yokoha......ma, O = Example Company, OU = Lab3, CN = foobar, emailAddress = foobar@lab3.example.co.jp"
n.to_s(OpenSSL::X509::Name::MULTILINE)
# => "countryName = JP\nstateOrProvinceName = Kanagawa\nlocalityName = Yokohama\norganizationName = Example Company\norganiz... -
DateTime
. parse(str = & # 39;-4712-01-01T00:00:00+00:00& # 39; , complete = true , start = Date :: ITALY) -> DateTime (18125.0) -
与えられた日時表現を解析し、 その情報に基づいて DateTime オブジェクトを生成します。
...オ暦をつかい始めた日をあらわすユリウス日
@raise ArgumentError 正しくない日時になる組み合わせである場合に発生します。
例:
require 'date'
DateTime.parse('2001-02-03T12:13:14Z').to_s
# => "2001-02-03T12:13:14+00:00"
@see Date._parse, Date.parse... -
URI
:: Generic # to _ s -> String (18113.0) -
自身が表す URI を文字列として返します。
...自身が表す URI を文字列として返します。
例:
require 'uri'
p URI.parse('http://example.com/').to_s #=> "http://example.com/"... -
OptionParser
# to _ s -> String (18101.0) -
サマリの文字列を返します。
...サマリの文字列を返します。
//emlist[例][ruby]{
require "optparse"
options = {}
opts = OptionParser.new do |opts|
opts.banner = "Usage: example.rb [options]"
opts.on("-v", "--[no-]verbose", "Run verbosely") do |v|
options[:verbose] = v
end
end
puts opts.help
# => Usage:... -
Racc
:: Parser # token _ to _ str(t) (9100.0) -
@todo
@todo -
optparse
/ date (6012.0) -
OptionParser#on で使用可能なクラスに Date と DateTime が 追加されます。 オプションの引数はそれぞれのクラスのインスタンスに変換されてから、 OptionParser#on のブロックに渡されます。
...nParser#on で使用可能なクラスに Date と DateTime が
追加されます。
オプションの引数はそれぞれのクラスのインスタンスに変換されてから、
OptionParser#on のブロックに渡されます。
//emlist[][ruby]{
require 'optparse/date'
opts = OptionParse......r.new
opts.on("-d DATE", Date){|d|
p d.to_s #=> 2000-01-01
}
opts.parse!
# ruby command -d 2000/1/1
//}... -
OptionParser
:: ParseError # message -> String (6001.0) -
標準エラーに出力するメッセージを返します。
標準エラーに出力するメッセージを返します。
@return 文字列を返します。 -
OptionParser
# help -> String (3001.0) -
サマリの文字列を返します。
...サマリの文字列を返します。
//emlist[例][ruby]{
require "optparse"
options = {}
opts = OptionParser.new do |opts|
opts.banner = "Usage: example.rb [options]"
opts.on("-v", "--[no-]verbose", "Run verbosely") do |v|
options[:verbose] = v
end
end
puts opts.help
# => Usage:...