るりまサーチ

最速Rubyリファレンスマニュアル検索!
3816件ヒット [1-100件を表示] (0.068秒)

別のキーワード

  1. rbconfig ruby
  2. fiddle ruby_free
  3. fiddle build_ruby_platform
  4. rake ruby
  5. rubygems/defaults ruby_engine

ライブラリ

モジュール

キーワード

検索結果

<< 1 2 3 ... > >>

rubygems (26054.0)

RubyGems を扱うためのクラスやモジュールが定義されているライブラリです。

...RubyGems を扱うためのクラスやモジュールが定義されているライブラリです。


===[a:gem_command] gem コマンドの使い方

$ gem help

Ruby
Gems は Ruby のための高機能なパッケージ管理ツールです。
これはより多くの情報へのポ...
...gem help <COMMAND> COMMAND に関するヘルプを表示します
(e.g. 'gem help install')
より詳しい情報:
https://rubygems.org

==== Gem パッケージをインストールする

例えば rak ( https://rubygems.org/gems...
...ild <gemspec filename>

最小の gemspec は以下のようになります。ビルドするために必要な最小の gemspec なので出来上がるのは
メタデータのみを含む Gem パッケージです。また、いくつかの警告が表示されます。

//emlist[gemspec][ruby]{...

rubygems/commands/environment_command (26012.0)

RubyGems の環境に関する情報を表示するためのライブラリです。

...RubyGems の環境に関する情報を表示するためのライブラリです。

Usage: gem environment [arg] [options]
Common Options:
-h, --help このコマンドのヘルプを表示します
-V, --[no-]verbose 表示を詳細にしま...
...た設定ファイルを使用します
--backtrace バックトレースを表示します
--debug Ruby 自体のデバッグオプションを有効にします
Arguments:
packageversion gem のバージョンを表示します...
...ersion Gem パッケージのフォーマットのバージョンを表示します
remotesources Gem パッケージを検索するサーバを表示します
<
omitted> 省略すると全て表示します
Summary:
Ruby
Gems の環境や設定を表示します...

rubygems/commands/help_command (26012.0)

Gem コマンドに関するヘルプを提供するためのライブラリです。

...
--debug Ruby 自体のデバッグオプションを有効にします
Arguments:
commands gem コマンドのサブコマンドの一覧を表示します
examples gem コマンドの使用例を表示します
<
command> 指定...

rubygems/command_manager (26006.0)

gem コマンドによってサポートされているサブコマンドを管理するライブラリです。

...nds can be provided by writing a rubygems_plugin.rb
file in an installed gem. You should register your command against the
Gem::CommandManager instance, like this:

# file rubygems_plugin.rb
require 'rubygems/command_manager'

class Gem::Commands::EditCommand < Gem::Command
# ...
end...

Module#<(other) -> bool | nil (18142.0)

比較演算子。self が other の子孫である場合、 true を返します。 self が other の先祖か同一のクラス/モジュールである場合、false を返します。

...します。

//emlist[例][ruby]{
module Foo
end
class Bar
include Foo
end
class Baz < Bar
end
class Qux
end
p Bar < Foo # => true
p Baz < Bar # => true
p Baz < Foo # => true
p Baz < Qux # => nil
p Baz > Qux # => nil

p Foo < Object.new # => in `<': compared with non class/mod...

絞り込み条件を変える

FileUtils#ruby(*args) {|result, status| ... } (18135.0)

与えられた引数で Ruby インタプリタを実行します。

...与えられた引数で Ruby インタプリタを実行します。

@param args Ruby インタプリタに与える引数を指定します。

例:
ruby
%{-pe '$_.upcase!' <README}

@see Kernel.#sh...

Hash#<(other) -> bool (18124.0)

self が other のサブセットである場合に真を返します。

...サブセットである場合に真を返します。

@param other 自身と比較したい Hash オブジェクトを指定します。

//emlist[例][ruby]{
h1 = {a:1, b:2}
h2 = {a:1, b:2, c:3}
h1 < h2 # => true
h2 < h1 # => false
h1 < h1 # => false
//}

@see Hash#<=, Hash#>=, Hash#>...

Comparable#<(other) -> bool (18118.0)

比較演算子 <=> をもとにオブジェクト同士を比較します。 <=> が負の整数を返した場合に、true を返します。 それ以外の整数を返した場合に、false を返します。

... <=> をもとにオブジェクト同士を比較します。
<
=> が負の整数を返した場合に、true を返します。
それ以外の整数を返した場合に、false を返します。

@param other 自身と比較したいオブジェクトを指定します。
@raise ArgumentError <...
...=> が nil を返したときに発生します。

//emlist[例][ruby]{
1 < 1 # => false
1 < 2 # => true
//}...

Integer#<(other) -> bool (18118.0)

比較演算子。数値として小さいか判定します。

...比較演算子。数値として小さいか判定します。

@param other 比較対象の数値
@return self よりも other が大きい場合 true を返します。
そうでなければ false を返します。

//emlist[][ruby]{
1 < 1 # => false
1 < 2 # => true
//}...
<< 1 2 3 ... > >>