309件ヒット
[1-100件を表示]
(0.161秒)
ライブラリ
- ビルトイン (45)
- rake (66)
-
rdoc
/ context (11) - uri (55)
クラス
- Module (11)
-
RDoc
:: Context (11) -
Rake
:: FileTask (11) -
Rake
:: NameSpace (11) -
URI
:: LDAP (44)
モジュール
- ObjectSpace (11)
- Rake (22)
-
Rake
:: TaskManager (22) -
RubyVM
:: AbstractSyntaxTree (12)
オブジェクト
- main (11)
キーワード
- LDAP (11)
- Ruby用語集 (11)
- [] (11)
- application (11)
- application= (11)
-
blk
_ orphan (11) - build (22)
-
copy
_ node _ scope (11) -
each
_ object (11) - eval (11)
-
find
_ enclosing _ module _ named (11) - lookup (11)
- new (11)
- of (2)
- parse (2)
-
parse
_ file (8) -
rb
_ backref _ get (11) -
rb
_ backref _ set (11) -
rb
_ call (11) -
rb
_ lastline _ get (11) -
rb
_ lastline _ set (11) -
rb
_ svar (11) - scope= (11)
-
scope
_ name (11) -
top
_ local _ setup (11) - using (22)
- 変数と定数 (11)
検索結果
先頭5件
-
URI
:: LDAP # scope -> String (24217.0) -
自身の Scope を文字列で返します。
...自身の Scope を文字列で返します。... -
RDoc
:: Context # find _ enclosing _ module _ named(name) -> RDoc :: NormalModule | nil (18316.0) -
find a module at a higher scope
...find a module at a higher scope... -
URI
:: LDAP . build(ary) -> URI :: LDAP (15312.0) -
引数で与えられた URI 構成要素から URI::LDAP オブジェクトを生成します。 引数の正当性を検査します。
...えられた URI 構成要素から URI::LDAP オブジェクトを生成します。
引数の正当性を検査します。
@param ary 構成要素を表す配列を与えます。要素は次の順です。
//emlist{
[:host, :port, :dn, :attributes, :scope, :filter, :extensions]
//}
@param......のキーは
//emlist{
:host, :port, :dn, :attributes, :scope, :filter, :extensions
//}
のいずれかです。
@raise URI::InvalidComponentError 各要素が適合しない場合に発生します。
例:
require 'uri'
p URI::LDAP.build(["example.com", "1", "/a", "b......", "c", "d", "e=f"]).to_s
#=> "ldap://example.com:1/a?b?c?d?e=f"... -
URI
:: LDAP . build(hash) -> URI :: LDAP (15312.0) -
引数で与えられた URI 構成要素から URI::LDAP オブジェクトを生成します。 引数の正当性を検査します。
...えられた URI 構成要素から URI::LDAP オブジェクトを生成します。
引数の正当性を検査します。
@param ary 構成要素を表す配列を与えます。要素は次の順です。
//emlist{
[:host, :port, :dn, :attributes, :scope, :filter, :extensions]
//}
@param......のキーは
//emlist{
:host, :port, :dn, :attributes, :scope, :filter, :extensions
//}
のいずれかです。
@raise URI::InvalidComponentError 各要素が適合しない場合に発生します。
例:
require 'uri'
p URI::LDAP.build(["example.com", "1", "/a", "b......", "c", "d", "e=f"]).to_s
#=> "ldap://example.com:1/a?b?c?d?e=f"... -
Rake
. application -> Rake :: Application (12406.0) -
現在の Rake アプリケーションを返します。
...//emlist[][ruby]{
# Rakefile での記載例とする
require 'pp'
task default: :test_rake_app
task :test_rake_app do
pp Rake.application
end
# => #<Rake::Application:0x31b0f18
# @default_loader=#<Rake::DefaultLoader:0x31b0c78>,
# @imported=[],
# @last_description=nil,
# @loade......ultLoader:0x31b0c18>,
# ".rf"=>#<Rake::DefaultLoader:0x31b0b88>,
# ".rake"=>#<Rake::DefaultLoader:0x31b0b10>},
# @name="rake",
# @options=#<OpenStruct rakelib=["rakelib"], trace_output=#<IO:<STDERR>>>,
# @original_dir="/path/to/dir",
# @pending_imports=[],
# @rakefile......akefile",
# @rakefiles=["rakefile", "Rakefile", "rakefile.rb", "Rakefile.rb"],
# @rules=[],
# @scope=LL(),
# @tasks=
# {"default"=><Rake::Task default => [test_rake_app]>,
# "test_rake_app"=><Rake::Task test_rake_app => []>},
# @terminal_columns=0,
# @top_level_tas... -
RubyVM
:: AbstractSyntaxTree . parse _ file(pathname , keep _ script _ lines: false , error _ tolerant: false , keep _ tokens: false) -> RubyVM :: AbstractSyntaxTree :: Node (12306.0) -
pathname のファイルを読み込み、その内容を抽象構文木にパースし、その木の根ノードを返します。
...します
@param keep_script_lines true を指定すると、 Node#script_lines でノードと関連づけられたソースコードのテキストを取得できます。
@param keep_tokens true を指定すると、 Node#token が利用できます。
@param error_tolerant true を指定する......ます。
@raise SyntaxError pathname から取得された文字列が Ruby のコードとして正しくない場合に発生します。
//emlist[][ruby]{
pp RubyVM::AbstractSyntaxTree.parse_file(__FILE__)
# => (SCOPE@1:0-1:50
# tbl: []
# args: nil
# body:
# (FCALL@1:0-1:50 :p......p
# (LIST@1:3-1:50
# (CALL@1:3-1:50
# (COLON2@1:3-1:29 (CONST@1:3-1:9 :RubyVM) :AbstractSyntaxTree)
# :parse_file (LIST@1:41-1:49 (STR@1:41-1:49 "") nil)) nil)))
//}... -
Rake
:: FileTask . scope _ name(scope , task _ name) -> String (12302.0) -
ファイルタスクはスコープを無視します。
ファイルタスクはスコープを無視します。 -
VALUE rb
_ lastline _ get(void) (12216.0) -
現在評価中の SCOPE の $_ の値を取得します。
...現在評価中の SCOPE の $_ の値を取得します。... -
void rb
_ lastline _ set(VALUE val) (12216.0) -
現在評価中の SCOPE の $_ に val を代入します。
...現在評価中の SCOPE の $_ に val を代入します。... -
Rake
. application=(app) (12206.0) -
現在の Rake アプリケーションをセットします。
...plication のインスタンスを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
require 'pp'
task default: :test_rake_app
task :test_rake_app do
app = Rake::Application.new
app.tty_output = true
Rake.application = app
pp Rake.application
end
# => #<Rake::Applic......ion:0x00005624e6c30eb8
# @default_loader=#<Rake::DefaultLoader:0x00005624e6c30cd8>,
# @imported=[],
# @last_description=nil,
# @loaders=
# {".rb"=>#<Rake::DefaultLoader:0x00005624e6c30bc0>,
# ".rf"=>#<Rake::DefaultLoader:0x00005624e6c30b48>,
# ".rake"=>#<Rake::Defaul......ce_pattern=nil, thread_pool_size=20, trace=false, trace_output=#<IO:<STDERR>>, trace_rules=false>,
# @original_dir="/path/to/dir",
# @pending_imports=[],
# @rakefile=nil,
# @rakefiles=["rakefile", "Rakefile", "rakefile.rb", "Rakefile.rb"],
# @rules=[],
# @scope=LL(),
# @t...