るりまサーチ

最速Rubyリファレンスマニュアル検索!
2369件ヒット [2301-2369件を表示] (0.089秒)
トップページ > クエリ:@[x] > クエリ:base[x]

別のキーワード

  1. base digest
  2. base ==
  3. base file
  4. bigdecimal base
  5. base hexdigest

ライブラリ

モジュール

キーワード

検索結果

<< < ... 22 23 24 >>

NEWS for Ruby 3.0.0 (18.0)

NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...rue` is used. 17104
* Magic comment `shareable_constant_value` added to freeze constants.
See {Magic Comments}[rdoc-ref:doc/syntax/comments.rdoc@Magic+Comments] for more details.
17273
* A {static analysis}[rdoc-label:label-Static+analysis] foundation is
introduced.
* {RBS}[rdo...
...on uses only methods ending with `!`.
* Ractor compatible.
* Improved support for YAML. 8382
* Use officially discouraged. Read OpenStruct@Caveats section.
* Pathname
* Ractor compatible.
* Psych
* Update to Psych 3.3.0
* This version is Ractor compatible.
* Reline...
...ompatibility issues

* Default gems
* The following libraries are promoted to default gems from stdlib.
* English
* abbrev
* base64
* drb
* debug
* erb
* find
* net-ftp
* net-http
* net-imap
* net-protocol
* open-uri...

NEWS for Ruby 3.1.0 (18.0)

NEWS for Ruby 3.1.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...演算子がインスタンス変数、クラス変数、グローバル変数をサポートしました。 17724

//emlist{
@
n = 5
Prime.each_cons(2).lazy.find{_1 in [n, ^@n]}
#=> [3, 5]
//}

* 1行パターンマッチが実験的な機能ではなくなりました。

* 1行パターンマ...
...付ライブラリの更新(機能追加とバグ修正を除く)

* 以下のdefault gemsが更新されました。
* RubyGems 3.3.3
* base64 0.1.1
* benchmark 0.2.0
* bigdecimal 3.1.1
* bundler 2.3.3
* cgi 0.3.1
* csv 3.2.2
* date 3.2.2
* did_you_mean 1.6.1...
...176 を参照してください。
* Random::Formatterは random/formatter.rb に移動され、SecureRandomを使わずに Random#hex や Random#base64 などが使用できるようになりました。 18190

== 互換性 (機能追加とバグ修正を除く)

* rb_io_wait_readable、 rb_io_...

NKF.#nkf(opt, str) -> String (18.0)

文字列 str の文字コードを変換し、変換結果の文字列を返します。

...ければいけないことに注意してください。

@
param opt オプション文字列です。
@
param str 変換対象の文字列です。

=== 注意

このメソッドは(nkf コマンドがそうであるように)、MIME Base64 の
デコード処理がデフォルトでオンにな...

open-uri (18.0)

http/ftp に簡単にアクセスするためのクラスです。 Kernel.#open を再定義します。

...得する
メソッドが使えます。

require 'open-uri'
open("http://www.ruby-lang.org/en") {|f|
f.each_line {|line| p line}
p f.base_uri # <URI::HTTP:0x40e6ef2 URL:http://www.ruby-lang.org/en/>
p f.content_type # "text/html"
p f.charset # "iso-8859-1"...
...を指定できます。

require 'open-uri'
open("http://www.ruby-lang.org/en/",
"User-Agent" => "Ruby/#{RUBY_VERSION}",
"From" => "foo@bar.invalid",
"Referer" => "http://www.ruby-lang.org/") {|f|
...
}

http_proxy, ftp_proxy, no_proxy などの環境変数は、デフォル...
...方法で開けます。
require 'open-uri'
uri = URI.parse("http://www.ruby-lang.org/en/")
uri.open {|f|
...
}
URI オブジェクトは直接読み込むことができます。
戻り値の文字列は、OpenURI::Meta で拡張されています。
str = uri.read
p str.base_uri...
...する
メソッドが使えます。

require 'open-uri'
URI.open("http://www.ruby-lang.org/en") {|f|
f.each_line {|line| p line}
p f.base_uri # <URI::HTTP:0x40e6ef2 URL:http://www.ruby-lang.org/en/>
p f.content_type # "text/html"
p f.charset # "iso-8859-1"...
...指定できます。

require 'open-uri'
URI.open("http://www.ruby-lang.org/en/",
"User-Agent" => "Ruby/#{RUBY_VERSION}",
"From" => "foo@bar.invalid",
"Referer" => "http://www.ruby-lang.org/") {|f|
...
}

http_proxy, ftp_proxy, no_proxy などの環境変数は、デフォル...

OpenSSL::BN.new(bn) -> OpenSSL::BN (15.0)

OpenSSL::BN を複製して返します。

...OpenSSL::BN を複製して返します。

@
param bn 複製する OpenSSL::BN オブジェクト...

絞り込み条件を変える

RubyVM::InstructionSequence#label -> String (12.0)

self が表す命令シーケンスのラベルを返します。通常、メソッド名、クラス名、 モジュール名などで構成されます。

...ます。

例1:irb で実行した場合

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

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

# /tmp/method.rb
def hello...
...end

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

例3:

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

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

@
see RubyVM::InstructionSequence#base_label...

Thread::Backtrace::Location#label -> String (12.0)

self が表すフレームのラベルを返します。通常、メソッド名、クラス名、モ ジュール名などで構成されます。

...フレームのラベルを返します。通常、メソッド名、クラス名、モ
ジュール名などで構成されます。

例: Thread::Backtrace::Location の例1を用いた例

//emlist[][ruby]{
loc = c(0..1).first
loc.label # => "a"
//}

@
see Thread::Backtrace::Location#base_label...
<< < ... 22 23 24 >>