497件ヒット
[1-100件を表示]
(0.119秒)
別のキーワード
ライブラリ
- ビルトイン (65)
-
net
/ http (324) - optparse (72)
-
rdoc
/ parser / ruby (12) -
rexml
/ streamlistener (12) -
ripper
/ lexer (12)
クラス
-
Net
:: HTTPGenericRequest (72) -
Net
:: HTTPResponse (48) - Object (16)
- OptionParser (72)
-
RDoc
:: Parser :: Ruby (12) -
Ripper
:: Lexer (12) -
RubyVM
:: AbstractSyntaxTree :: Node (49)
モジュール
-
Net
:: HTTPHeader (204) -
REXML
:: StreamListener (12)
キーワード
- [] (12)
- []= (12)
- body (24)
- body= (12)
-
body
_ stream (12) -
body
_ stream= (12) - children (7)
-
content
_ type (12) -
content
_ type= (12) - delete (12)
-
each
_ key (12) -
each
_ name (12) - entity (12)
- entitydecl (12)
- fetch (36)
-
first
_ column (7) -
first
_ lineno (7) -
get
_ fields (12) - inspect (7)
- key? (12)
-
last
_ column (7) -
last
_ lineno (7) -
main
_ type (12) -
proxy
_ basic _ auth (12) -
read
_ body (24) -
request
_ body _ permitted? (12) -
response
_ body _ permitted? (12) - scan (12)
-
set
_ content _ type (12) -
sub
_ type (12) - summarize (24)
-
summary
_ indent (12) -
summary
_ indent= (12) -
summary
_ width (12) -
summary
_ width= (12) - type (7)
-
type
_ params (12) -
yield
_ self (16)
検索結果
先頭5件
-
Ripper
:: Lexer # parse -> [[Integer , Integer] , Symbol , String , Ripper :: Lexer :: State] (18218.0) -
自身の持つ Ruby プログラムをトークンに分割し、そのリストを返します。た だし Ripper::Lexer#lex と違い、結果をソートしません。
...自身の持つ Ruby プログラムをトークンに分割し、そのリストを返します。た
だし Ripper::Lexer#lex と違い、結果をソートしません。
ライブラリ内部で使用します。... -
Ripper
:: Lexer # parse -> [[Integer , Integer] , Symbol , String] (18218.0) -
自身の持つ Ruby プログラムをトークンに分割し、そのリストを返します。た だし Ripper::Lexer#lex と違い、結果をソートしません。
...自身の持つ Ruby プログラムをトークンに分割し、そのリストを返します。た
だし Ripper::Lexer#lex と違い、結果をソートしません。
ライブラリ内部で使用します。... -
RubyVM
:: AbstractSyntaxTree :: Node # type -> Symbol (9113.0) -
self の種類を Symbol で返します。
...self の種類を Symbol で返します。
//emlist[][ruby]{
node = RubyVM::AbstractSyntaxTree.parse('1 + 1')
p node.type # => :SCOPE
//}... -
OptionParser
# summary _ indent -> String (9107.0) -
サマリを表示する時のインデントを文字列で返します。
...例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summary_indent # => " "
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
opts.summary_ind......ent = " "
opts.summary_indent # => " "
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
//}... -
OptionParser
# summary _ indent=(indent) (9107.0) -
サマリを表示する時のインデントを文字列で指定します。
...例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summary_indent # => " "
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
opts.summary_ind......ent = " " # => " "
opts.summary_indent # => " "
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
//}... -
OptionParser
# summary _ width -> Integer (9107.0) -
サマリを表示するときの幅を整数で返します。
...ist[例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summary_width # => 32
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
opts.summary_width =......8
opts.summary_width # =>8
opts.summarize
# => [" -i\n", " --init\n", " -u\n", " --update\n", " -h\n", " --help\n"]
//}... -
OptionParser
# summary _ width=(width) (9107.0) -
サマリを表示するときの幅を整数で指定します。
...ist[例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summary_width # => 32
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
opts.summary_width =......8 # => 8
opts.summary_width # => 8
opts.summarize
# => [" -i\n", " --init\n", " -u\n", " --update\n", " -h\n", " --help\n"]
//}... -
RDoc
:: Parser :: Ruby # scan -> RDoc :: TopLevel (9017.0) -
Ruby のソースコードからクラス/モジュールのドキュメントを解析します。
...
Ruby のソースコードからクラス/モジュールのドキュメントを解析します。
@return RDoc::TopLevel オブジェクトを返します。... -
Net
:: HTTPHeader # content _ type=(type) (6213.0) -
type と params から Content-Type: ヘッダフィールドの 値を設定します。
...type と params から Content-Type: ヘッダフィールドの
値を設定します。
@param type メディアタイプを文字列で指定します。
@param params パラメータ属性をハッシュで指定します。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.......example.com/index.html')
req = Net::HTTP::Get.new(uri.request_uri)
req.content_type # => nil
req.content_type = 'multipart/form-data' # => "multipart/form-data"
req.content_type # => "multipart/form-data"
//}... -
Net
:: HTTPHeader # set _ content _ type(type , params = {}) (6213.0) -
type と params から Content-Type: ヘッダフィールドの 値を設定します。
...type と params から Content-Type: ヘッダフィールドの
値を設定します。
@param type メディアタイプを文字列で指定します。
@param params パラメータ属性をハッシュで指定します。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.......example.com/index.html')
req = Net::HTTP::Get.new(uri.request_uri)
req.content_type # => nil
req.content_type = 'multipart/form-data' # => "multipart/form-data"
req.content_type # => "multipart/form-data"
//}...