るりまサーチ

最速Rubyリファレンスマニュアル検索!
4482件ヒット [201-300件を表示] (0.023秒)

別のキーワード

  1. base digest
  2. base ==
  3. base file
  4. base hexdigest
  5. base64 encode64

ライブラリ

モジュール

キーワード

検索結果

<< < 1 2 3 4 5 ... > >>

RSS::Maker::ChannelBase::SkipDaysBase::DayBase#content=() (9000.0)

@todo

@todo

RSS::Maker::ChannelBase::SkipHoursBase (9000.0)

RSS::Maker::ChannelBase::SkipHoursBase::HourBase#content (9000.0)

@todo

@todo

RSS::Maker::ChannelBase::SkipHoursBase::HourBase#content=() (9000.0)

@todo

@todo

RSS::Maker::ItemsBase::ItemBase (9000.0)

itemはmaker.items.new_itemで作成されたオブジェク トとします.

itemはmaker.items.new_itemで作成されたオブジェク
トとします.

RSS 1.0/0.91の場合はtitle,linkを設定する必要があ
ります.

RSS 2.0の場合はtitleまたはdescriptionを設定する
必要があります.

絞り込み条件を変える

SecureRandom.urlsafe_base64(n = nil, padding = false) -> String (6147.0)

ランダムで URL-safe な base64 文字列を生成して返します。

...ランダムで URL-safe な base64 文字列を生成して返します。

@param n 文字列の生成に使われるランダムネスのサイズを整数で指定します。
生成される文字列のサイズはn の約 4/3 倍になります。
nil を指定した場合 n...
...ureRandom.urlsafe_base64 #=> "b4GOKm4pOYU_-BOXcrUGDg"
p SecureRandom.urlsafe_base64 #=> "UZLdOkzop70Ddx-IJR0ABg"
p SecureRandom.urlsafe_base64(nil, true) #=> "i0XQ-7gglIsHGV2_BNPrdQ=="
p SecureRandom.urlsafe_base64(nil, true) #=> "-M8rLhr7JEpJlqFGUMmOxg=="

@see SecureRandom.base64, 3548...

SecureRandom.base64(n = nil) -> String (6123.0)

ランダムな base64 文字列を生成して返します。

...ランダムな base64 文字列を生成して返します。

@param n 文字列の生成に使われるランダムネスのサイズを整数で指定します。
生成される文字列のサイズではないことに注意して下さい。生成される文字列のサイズは...
...3 倍になります。nil を指定した場合 n として 16 が使われます。

@raise NotImplementedError 安全な乱数発生器が使えない場合に発生します。

require 'securerandom'
p SecureRandom.base64(3) #=> "4pYO" (文字列のサイズは 3 でない)

@see 3548...

RubyVM::InstructionSequence#base_label -> String (6119.0)

self が表す命令シーケンスの基本ラベルを返します。

...ed>@<compiled>>
iseq.base_label
# => "<compiled>"

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

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

# irb
> iseq = RubyVM::InstructionSequence.compile_file('/tmp/method.rb')
> iseq.base_label # => "<main>"...
...例3:

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

RubyVM::InstructionSequence.of(method(:hello)).base_label
# => "hello"

@see RubyVM::InstructionSequence#label...

OpenURI::Meta#base_uri -> URI (6107.0)

リソースの実際の URI を URI オブジェクトとして返します。 リダイレクトされた場合は、リダイレクトされた後のデータが存在する URI を返します。

...します。
リダイレクトされた場合は、リダイレクトされた後のデータが存在する URI を返します。

//emlist[例][ruby]{
require 'open-uri'
open('http://www.ruby-lang.org/') {|f|
p f.base_uri
#=> #<URI::HTTP:0xb7043aa0 URL:http://www.ruby-lang.org/en/>
}
//}...
...ます。
リダイレクトされた場合は、リダイレクトされた後のデータが存在する URI を返します。

//emlist[例][ruby]{
require 'open-uri'
URI.open('http://www.ruby-lang.org/') {|f|
p f.base_uri
#=> #<URI::HTTP:0xb7043aa0 URL:http://www.ruby-lang.org/en/>
}
//}...
<< < 1 2 3 4 5 ... > >>