るりまサーチ

最速Rubyリファレンスマニュアル検索!
3244件ヒット [1-100件を表示] (0.092秒)
トップページ > クエリ:ruby[x] > クエリ:Ruby[x] > クエリ:path[x]

別のキーワード

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

ライブラリ

モジュール

オブジェクト

キーワード

検索結果

<< 1 2 3 ... > >>

rubygems/gem_path_searcher (38000.0)

Gem パッケージに含まれているファイルのうちロード可能なものを検索するためのライブラリです。

Gem パッケージに含まれているファイルのうちロード可能なものを検索するためのライブラリです。

rubygems/require_paths_builder (38000.0)

必要であれば、'.require_paths' というファイルを Gem ごとに作成するための モジュールを提供するためのライブラリです。

...必要であれば、'.require_paths' というファイルを Gem ごとに作成するための
モジュールを提供するためのライブラリです。...

rubygems/security (32114.0)

このライブラリは暗号署名を RubyGems パッケージに使用するために使用します。

...このライブラリは暗号署名を RubyGems パッケージに使用するために使用します。

=== 署名付きの Gem パッケージ

==== 目次

* 概要
* 解説
* コマンドラインオプション
* OpenSSL リファレンス
* Bugs / TODO
* 作者について

==== 概...
...

このライブラリは暗号署名を RubyGems パッケージに使用するために使用します。
以下のセクションでは、署名付きの Gem パッケージを作成する方法を
ステップバイステップで解説しています。

==== 解説
@todo メソッドでは...
...PKI には盗まれた鍵によるリスクを軽減する方法があります。)

さて、Gem に署名しましょう。この例では Imlib2-Ruby を使用しますが、
あなたは好きな Gem を使用してもいいですよ。あなたの gemspec ファイルを開いて
以下の内...

rubygems (32102.0)

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

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


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

$ gem help

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

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

例えば rak ( https://rubygems.org/gems/rak ) をインストールするには、以下のいずれかを実行します。...
...がるのは
メタデータのみを含む Gem パッケージです。また、いくつかの警告が表示されます。

//emlist[gemspec][ruby]{
Gem::Specification.new do |s|
s.name = 'hello'
s.version = '0.0.0'
s.summary = 'hello summary'
end
//}

実用的なライブラリを作...

rubygems/commands/generate_index_command (32030.0)

ある Gem サーバに対するインデックスを作成するためのライブラリです。

...た設定ファイルを使用します
--backtrace バックトレースを表示します
--debug Ruby 自体のデバッグオプションを有効にします
Summary:
Generates the index files for a gem server directory
Des...
...tion:
The generate_index command creates a set of indexes for serving gems
statically. The command expects a 'gems' directory under the path given to
the --directory option. When done, it will generate a set of files like
this:

gems/...
...the inflate algorithm.
The
Marshal version number comes from ruby's Marshal::MAJOR_VERSION and
Marshal::MINOR_VERSION constants. It is used to ensure compatibility. The
yaml indexes exist for legacy RubyGems clients and fallback in case of
Marshal
version change...

絞り込み条件を変える

rubygems/commands/mirror_command (32018.0)

リモートリポジトリをローカルリポジトリにミラーするためのライブラリです。

...た設定ファイルを使用します
--backtrace バックトレースを表示します
--debug Ruby 自体のデバッグオプションを有効にします
Summary:
Gem リポジトリをミラーします
Description:...
...す。設定ファイルは YAML で以下のように書きます。

---
- from: http://gems.example.com # source repository URI
to: /path/to/mirror # destination directory

複数の取得元と配置先を指定することができます。...

RubyVM::InstructionSequence#path -> String (24119.0)

self が表す命令シーケンスの相対パスを返します。

...= RubyVM::InstructionSequence.compile('num = 1 + 2')
# => <RubyVM::InstructionSequence:<compiled>@<compiled>>
iseq.path
# => "<compiled>"

例2: RubyVM::InstructionSequence.compile_file を使用した場合

# /tmp/method.rb
def hello
puts "hello, world"
end

# irb
> iseq = Ruby...
...VM::InstructionSequence.compile_file('method.rb')
> iseq.path # => "method.rb"

@see RubyVM::InstructionSequence#absolute_path...

File.path(filename) -> String (18189.0)

指定されたファイル名を文字列で返します。filename が文字列でない場合は、to_path メソッドを呼びます。

...は、to_path メソッドを呼びます。

@param filename ファイル名を表す文字列か to_path メソッドが定義されたオブジェクトを指定します。

//emlist[例][ruby]{
require 'pathname'

class MyPath
def initialize(path)
@path = path
end
def to_path
File...
....absolute_path(@path)
end
end

File.path("/dev/null") # => "/dev/null"
File.path(Pathname("/tmp")) # => "/tmp"
File.path(MyPath.new(".")) # => "/Users/user/projects/txt"
//}...

IO#path -> String | nil (18138.0)

IO に関連付けられたパスを返します。IO がパスに関連付けられていない場合は nil を返します。

...が返すパスがファイルシステム上に存在することは保証されていません。

//emlist[例][ruby]{
p STDIN.path # => "<STDIN>"
p IO.new(IO.sysopen("/")).path # => "/"
p IO.new(IO.sysopen("/"), path: "foo").path # => "foo"
//}...

Net::HTTPGenericRequest#path -> String (18135.0)

リクエストする path を文字列で返します。

...リクエストする path を文字列で返します。

//emlist[例][ruby]{
require 'net/http'

uri = URI.parse('http://www.example.com/index.html')
req = Net::HTTP::Get.new(uri.request_uri)
req.path # => "/index.html"
//}...

絞り込み条件を変える

<< 1 2 3 ... > >>