るりまサーチ

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

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. t61string new
  4. matrix t
  5. fiddle type_size_t

検索結果

<< 1 2 > >>

REXML::Namespace#prefix -> String (24330.0)

prefix (前置修飾子) を返します。

...prefix (前置修飾子) を返します。

@
see REXML::Namespace#prefix=...

String#delete_prefix(prefix) -> String (18579.0)

文字列の先頭から prefix を削除した文字列のコピーを返します。

... prefix を削除した文字列のコピーを返します。

@
param prefix 先頭から削除する文字列を指定します。

@
return 文字列の先頭から prefix を削除した文字列のコピー

//emlist[][ruby]{
"hello".delete_prefix("hel") # => "lo"
"hello".delete_prefix("llo")...
...# => "hello"
//}

@
see String#delete_prefix!
@
see String#delete_suffix
@
see String#start_with?...

String#delete_prefix!(prefix) -> self | nil (18573.0)

self の先頭から破壊的に prefix を削除します。

... prefix を削除します。

@
param prefix 先頭から削除する文字列を指定します。

@
return 削除した場合は self、変化しなかった場合は nil

//emlist[][ruby]{
"hello".delete_prefix!("hel") # => "lo"
"hello".delete_prefix!("llo") # => nil
//}

@
see String#delete_prefi...
...x
@
see String#delete_suffix!
@
see String#start_with?...

REXML::SAX2Listener#start_prefix_mapping(prefix, uri) -> () (18555.0)

名前空間の接頭辞(prefix)が導入されたときに呼び出される コールバックメソッドです。

...の接頭辞(prefix)が導入されたときに呼び出される
コールバックメソッドです。

以下のようなXMLを処理
<a xmlns:foo="http://foo.example.org/">
<foo:b />
</a>
すると
start_prefix_mapping("foo", "http://foo.example.org/")
start_element(nil, "a", "a", {...
..."http://foo.example.org/"})
:
end_element(nil, "a", "a")
end_prefix_mapping("foo")
の順で呼びだされます。つまり名前空間を導入した要素の start_element の前に
start_prefix_mapping が呼びだされます。

@
param prefix 接頭辞の文字列が渡されます
@
p...

REXML::SAX2Listener#end_prefix_mapping(prefix) -> () (15431.0)

名前空間の接頭辞(prefix)の適用範囲が終了したときに 呼び出されるコールバックメソッドです。

...名前空間の接頭辞(prefix)の適用範囲が終了したときに
呼び出されるコールバックメソッドです。

@
param prefix 接頭辞の文字列が渡されます...

絞り込み条件を変える

Module#infect_with_assertions(positive_prefix, negative_prefix, skip_regexp, map = {}) -> () (6539.0)

BDD 風にテストを書くために使用するメソッド群を定義します。

...します。

@
param positive_prefix assert の代わりのプレフィックスを指定します。

@
param negative_prefix refute の代わりのプレフィックスを指定します。

@
param skip_regexp この正規表現にマッチしたメソッドは定義しません。

@
param map メ...

String#start_with?(*prefixes) -> bool (6331.0)

self の先頭が prefixes のいずれかであるとき true を返します。

... prefixes のいずれかであるとき true を返します。

@
param prefixes パターンを表す文字列または正規表現 (のリスト)

//emlist[例][ruby]{
"string".start_with?("str") # => true
"string".start_with?("ing") # => false
"string".start_with?("ing", "str")...
...# => true
"string".start_with?(/\w/) # => true
"string".start_with?(/\d/) # => false
//}

@
see String#end_with?
@
see String#delete_prefix, String#delete_prefix!...

Kernel#create_makefile(target, srcprefix = nil) -> true (6329.0)

@todo

...@todo

Kernel#have_library などの各種検査の結果を元に、拡張ライブラリを
ビルドするための Makefile を生成します。

extconf.rb は普通このメソッドの呼び出しで終ります。

@
param target ターゲットとなる拡張ライブラリの名前を指...
...定します。
例えば、拡張ライブラリで "Init_foo" という関数を定義して
いる場合は、"foo" を指定します。
'/' を含む場合は、最後のスラッシュ以降のみをターゲット名
として使用し...
...'test/foo' を指定した場合、拡張ライブラリは
'test' ディレクトリにインストールされます。この拡張ライブ
ラリを Ruby スクリプトから使用するときは
"require 'test/foo'" とする必要があります。

@
...

Kernel#install_files(mfile, ifiles, map = nil, srcprefix = nil) -> [] (6325.0)

このメソッドは create_makefile, install_rb が使用します。 内部用のメソッドです。

...ソッドは create_makefile, install_rb が使用します。
内部用のメソッドです。

@
param mfile Makefile を表す File のインスタンスです。

@
param ifiles インストールするファイルのリストを指定します。

@
param map ???

@
param srcprefix ソースディ...

Symbol#start_with?(*prefixes) -> bool (6319.0)

self の先頭が prefixes のいずれかであるとき true を返します。

...の先頭が prefixes のいずれかであるとき true を返します。

(self.to_s.start_with?と同じです。)

@
param prefixes パターンを表す文字列または正規表現 (のリスト)

@
see Symbol#end_with?

@
see String#start_with?

//emlist[][ruby]{
:hello.start_with?("hell")...
...#=> true
:hello.start_with?(/H/i) #=> true

# returns true if one of the prefixes matches.
:hello.start_with?("heaven", "hell") #=> true
:hello.start_with?("heaven", "paradise") #=> false
//}...

絞り込み条件を変える

IRB::OutputMethod#ppx(prefix, *objs) -> object (3336.0)

引数 prefix + 各 obj を inspect した文字列を self に出力し、最後に改行 を出力します。

...引数 prefix + 各 obj を inspect した文字列を self に出力し、最後に改行
を出力します。

@
param prefix 各 obj の先頭に追記する文字列を指定します。

@
param objs 任意のオブジェクトを指定します。...
<< 1 2 > >>