588件ヒット
[1-100件を表示]
(0.058秒)
クラス
-
Net
:: HTTP (72) -
Rake
:: Application (84) -
Rake
:: FileTask (24) -
Rake
:: NameSpace (12) - WIN32OLE (60)
-
WIN32OLE
_ EVENT (48) -
WIN32OLE
_ TYPE (12)
モジュール
- Rake (24)
-
Rake
:: TaskManager (156)
キーワード
-
NEWS for Ruby 2
. 2 . 0 (11) - OCSP (12)
- WIN32OLE (12)
-
WIN32OLE
_ EVENT (12) -
WIN32OLE
_ METHOD (12) -
WIN32OLE
_ TYPELIB (12) - [] (12)
- application (12)
- application= (12)
-
cgi
/ session (12) - clear (12)
-
const
_ load (12) -
create
_ rule (12) -
current
_ scope (12) -
define
_ task (12) - each (12)
- handler= (12)
-
in
_ namespace (12) - intern (12)
-
last
_ comment (12) -
last
_ description (12) -
last
_ description= (12) - lookup (12)
- name (12)
- needed? (12)
-
net
/ http (12) - new (12)
-
ole
_ func _ methods (12) -
ole
_ get _ methods (12) -
ole
_ query _ interface (12) -
on
_ event (12) -
on
_ event _ with _ outargs (12) -
original
_ dir (12) - post (24)
- post2 (24)
- progids (12)
- rakefile (12)
-
request
_ post (24) -
synthesize
_ file _ task (12) - tasks (12)
-
top
_ level (12) -
top
_ level _ tasks (12) -
tty
_ output= (12)
検索結果
先頭5件
-
Logger
:: Application (18042.0) -
ユーザ定義のアプリケーションにログ機能を簡単に追加することができます。
...lass FooApp < Application
def initialize(foo_app, application_specific, arguments)
super('FooApp') # Name of the application.
end
def run
...
log(WARN, 'warning', 'my_method1')
...
@log.error('my_method2') { 'Error!' }
...
end
end
status......= FooApp.new(....).start
=== 注意
このクラスは 2.2.0 で gem ライブラリとして切り離されました。2.2.0
以降ではそちらを利用してください。
* https://rubygems.org/gems/logger-application... -
Rake
. application -> Rake :: Application (6220.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,
# @loader......10>},
# @name="rake",
# @options=#<OpenStruct rakelib=["rakelib"], trace_output=#<IO:<STDERR>>>,
# @original_dir="/path/to/dir",
# @pending_imports=[],
# @rakefile="rakefile",
# @rakefiles=["rakefile", "Rakefile", "rakefile.rb", "Rakefile.rb"],
# @rules=[],
# @scope=L... -
Rake
. application=(app) (6137.0) -
現在の Rake アプリケーションをセットします。
...app Rake::Application のインスタンスを指定します。
//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
# => #<......acktrace_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(),
#... -
Rake
:: Application # tty _ output=(tty _ output _ state) (3024.0) -
TTY に対する出力状態を上書きします。
...ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.tty_output? # => false
Rake.application.tty_output = "debug output" # => "debug output"
Rake.application.tty_output? # => "debug output"
end
//}... -
Rake
:: Application # name -> String (3012.0) -
アプリケーションの名前を返します。通常は 'rake' という名前を返します。
...アプリケーションの名前を返します。通常は 'rake' という名前を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.name # => "rake"
end
//}... -
Rake
:: Application # options -> OpenStruct (3012.0) -
コマンドラインで与えられたアプリケーションのオプションを返します。
...ションを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.options # => #<OpenStruct always_multitask=false, backtrace=false, build_all=false, dryrun=false, ignore_deprecate=false, ignore_system=false, j......ob_stats=false, load_system=false, nosearch=false, rakelib=["rakelib"], show_all_tasks=false, show_prereqs=false, show_task_pattern=nil, show_tasks=nil, silent=false, suppress_backtrace_pattern=nil, thread_pool_size=8, trace=false, trace_output=#<IO:<STDERR>>, trace_rules=false>
end
//}... -
Rake
:: Application # original _ dir -> String (3012.0) -
rake コマンドを実行したディレクトリを返します。
...rake コマンドを実行したディレクトリを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.original_dir # => "/path/to/dir"
end
//}... -
Rake
:: Application # rakefile -> String (3012.0) -
実際に使用されている Rakefile の名前を返します。
...実際に使用されている Rakefile の名前を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.rakefile # => "Rakefile"
end
//}... -
Rake
:: Application # top _ level (3012.0) -
Rake アプリケーションに与えられたトップレベルのタスク (コマンドラインで指定されたタスク) を実行します。
...たトップレベルのタスク
(コマンドラインで指定されたタスク) を実行します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test1
task :test1
task :test2 do
puts "test2"
end
# rake test2 で実行
Rake.application.top_level
# => "test2"
//}... -
Rake
:: Application # top _ level _ tasks -> Array (3012.0) -
コマンドラインで指定されたタスクのリストを返します。
...コマンドラインで指定されたタスクのリストを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.top_level_tasks # => ["default"]
end
//}...