1052件ヒット
[1001-1052件を表示]
(0.113秒)
別のキーワード
ライブラリ
- ビルトイン (84)
- debug (24)
- fileutils (7)
- forwardable (24)
-
irb
/ context (36) - logger (57)
- mkmf (48)
-
net
/ ftp (24) -
net
/ http (12) -
net
/ imap (24) -
net
/ pop (12) -
net
/ smtp (24) - openssl (24)
- optparse (12)
-
rdoc
/ markdown (12) - ripper (24)
- shell (69)
- socket (48)
- syslog (24)
-
syslog
/ logger (24) -
webrick
/ log (60)
クラス
-
IRB
:: Context (36) - Logger (45)
-
Net
:: FTP (24) -
Net
:: HTTP (12) -
Net
:: IMAP (24) -
Net
:: POP3 (12) -
Net
:: SMTP (24) - Object (12)
-
OptionParser
:: ParseError (12) -
RDoc
:: Markdown (12) - Ripper (24)
-
RubyVM
:: InstructionSequence (24) - Shell (69)
- Socket (24)
-
Syslog
:: Logger (24) - Thread (24)
- Tracer (12)
-
WEBrick
:: BasicLog (60)
モジュール
- FileUtils (7)
- Forwardable (24)
- Kernel (72)
-
Logger
:: Severity (12) - OpenSSL (24)
-
Socket
:: Constants (24) - Syslog (12)
-
Syslog
:: Level (12)
キーワード
-
$ -d (12) -
$ DEBUG (12) - DEBUG (36)
- DEBUG= (12)
-
DEBUGGER
_ _ (12) -
IFF
_ DEBUG (24) -
LOG
_ DEBUG (12) -
NEWS for Ruby 2
. 3 . 0 (10) -
NEWS for Ruby 3
. 0 . 0 (5) -
NEWS for Ruby 3
. 1 . 0 (4) - Rubyの起動 (12)
-
SCRIPT
_ LINES _ _ (12) -
SO
_ DEBUG (24) -
compile
_ option (12) -
compile
_ option= (12) -
cp
_ lr (7) - debug= (48)
- debug? (60)
-
debug
_ level (12) -
debug
_ level= (12) -
debug
_ mode (12) -
debug
_ mode= (12) -
debug
_ output= (12) -
debug
_ output _ exclusive _ unlock (3) -
debug
_ output _ lock (6) -
debug
_ output _ locked? (6) -
debug
_ output _ synchronize (6) -
debug
_ output _ try _ lock (6) -
debug
_ output _ unlock (6) -
enable
_ config (24) -
filter
_ backtrace (12) - irb (12)
- log (12)
- new (33)
-
rb
_ ary _ to _ s (12) - rdoc (12)
-
rubygems
/ commands / build _ command (12) -
rubygems
/ commands / cert _ command (12) -
rubygems
/ commands / check _ command (12) -
rubygems
/ commands / cleanup _ command (12) -
rubygems
/ commands / contents _ command (12) -
rubygems
/ commands / dependency _ command (12) -
rubygems
/ commands / environment _ command (12) -
rubygems
/ commands / fetch _ command (12) -
rubygems
/ commands / generate _ index _ command (12) -
rubygems
/ commands / help _ command (12) -
rubygems
/ commands / install _ command (12) -
rubygems
/ commands / list _ command (12) -
rubygems
/ commands / lock _ command (12) -
rubygems
/ commands / mirror _ command (12) -
rubygems
/ commands / outdated _ command (12) -
rubygems
/ commands / pristine _ command (12) -
rubygems
/ commands / query _ command (12) -
rubygems
/ commands / rdoc _ command (12) -
rubygems
/ commands / search _ command (12) -
rubygems
/ commands / server _ command (12) -
rubygems
/ commands / sources _ command (12) -
rubygems
/ commands / specification _ command (12) -
rubygems
/ commands / uninstall _ command (12) -
rubygems
/ commands / unpack _ command (12) -
set
_ debug _ output (36) -
trace
_ func (12) -
with
_ config (24) - yydebug (12)
- yydebug= (12)
- 制御構造 (12)
検索結果
先頭5件
-
Kernel
# with _ config(config , default = nil) {|config , default| . . . } -> bool | String (118.0) -
configure のオプションを検査します。
...定義を、追加するのに役立ちます。
@param config configure のオプションの名前を指定します。
@param default デフォルト値を返します。
例
require 'mkmf'
if with_config("debug")
$defs.push("-DOSSL_DEBUG") unless $defs.include? "-DOSSL_DEBUG"
end... -
FileUtils
. # cp _ lr(src , dest , noop: nil , verbose: nil , dereference _ root: true , remove _ destination: false) (106.0) -
src へのハードリンク dest を作成します。 src がディレクトリの場合、再帰的にリンクします。 dest がディレクトリの場合、src へのハードリンク dest/src を作成します。
...定する場合は配列で指定します。
@param dest リンク作成先のファイルかディレクトリです。
@param options :noop, :verbose, :dereference_root, :remove_destination が指定できます。
c:FileUtils#options
@raise ArgumentError dest が src に含ま......//emlist["mylib" ライブラリを site_ruby にインストールする例][ruby]{
require 'fileutils'
FileUtils.rm_r site_ruby + '/mylib', force: true
FileUtils.cp_lr 'lib/', site_ruby + '/mylib'
//}
//emlist[様々なファイルを対象ディレクトリにリンクする例][ruby]{
require '......fileutils'
FileUtils.cp_lr %w(mail.rb field.rb debug/), site_ruby + '/tmail'
FileUtils.cp_lr Dir.glob('*.rb'), '/home/aamine/lib/ruby', noop: true, verbose: true
//}
//emlist[内容をリンクする例][ruby]{
require 'fileutils'
# ディレクトリそのものではなく、ディレクトリの... -
Kernel
$ $ -d -> bool (101.0) -
この値が真のときはインタプリタがデバッグモードになります。
...って終了した時に
インタプリタ全体が中断されるようになります。
Thread.abort_on_exception を
true にセットするのと同じ効果です。
* Thread.abort_on_exception= の効果がなくなります。
* 例外を捕捉しているかどうかに関係な......く、
例外が発生した時点で $stderr にそれが出力されます。
スクリプトの処理は続行されます。
この変数はグローバルスコープです。
@see spec/rubycmd... -
制御構造 (90.0)
-
制御構造 条件分岐: * if * unless * case 繰り返し: * while * until * for * break * next * redo * retry 例外処理: * raise * begin その他: * return * BEGIN * END
...* if
* unless
* case
繰り返し:
* while
* until
* for
* break
* next
* redo
* retry
例外処理:
* raise
* begin
その他:
* return
* BEGIN
* END
Rubyでは(Cなどとは異なり)制御構造は式であって、何らかの値を返......ます。値を返さない式を代入式の右辺に置くと
syntax error になります)。
RubyはC言語やPerlから引き継いだ制御構造を持ちますが、
その他にd:spec/call#blockという
制御構造の抽象化を援助する機能があります。ブロック付きメソ......件式が正規表現のリテラルである時には特別に
//emlist[][ruby]{
$_ =~ リテラル
//}
であるかのように評価されます。
==== if 修飾子
//emlist[例][ruby]{
print "debug\n" if $DEBUG
//}
文法:
式 if 式
右辺の条件が成立する時に、左... -
rdoc (48.0)
-
RDoc は Ruby のドキュメント生成を行うためのライブラリです。rdoc という ドキュメント生成のためのコマンドも含んでいます。
...c は Ruby のドキュメント生成を行うためのライブラリです。rdoc という
ドキュメント生成のためのコマンドも含んでいます。
このパッケージは RDoc と Markup というふたつのコンポーネントを含
んでいます。 RDoc とは Ruby の......関するドキュメントを
生成するとき、コメント部を変換するために使われます。
=== ロードマップ
* RDoc で Ruby のソースファイルに対するドキュメントを生成したければ、まずこの文章を読みましょう。
* Cで書かれた拡......no-dcov
ドキュメントが記述されていない要素に関するレポートを出力しません。
: --debug
実行時に内部情報を出力します。
: --no-debug
実行時に内部情報を出力しません。
: --diagram
何もしません。--diagram オプション...