別のキーワード
種類
- インスタンスメソッド (183)
- 関数 (88)
- クラス (28)
- 文書 (14)
- 特異メソッド (6)
ライブラリ
- ビルトイン (148)
-
rubygems
/ requirement (11) - shell (6)
-
shell
/ builtin-command (18) -
shell
/ command-processor (6) -
shell
/ filter (6) - strscan (22)
クラス
- Array (19)
-
Enumerator
:: Lazy (22) -
Gem
:: Requirement (11) - Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Concat (12) -
Shell
:: Filter (6) - String (30)
- StringScanner (22)
モジュール
- Enumerable (55)
キーワード
- << (22)
- Concat (6)
- Lazy (11)
-
NEWS for Ruby 2
. 4 . 0 (8) -
NEWS for Ruby 2
. 6 . 0 (6) - String (11)
-
arg
_ concat (11) -
collect
_ concat (33) - each (6)
-
flat
_ map (33) - lazy (11)
-
list
_ concat (11) -
literal
_ concat (11) -
literal
_ concat _ dstr (11) -
literal
_ concat _ list (11) -
literal
_ concat _ string (11) - new (6)
-
rb
_ ary _ concat (11) -
rb
_ str _ concat (11)
検索結果
先頭5件
-
Shell
# concat(*jobs) -> Shell :: Concat (18202.0) -
@todo
@todo -
Shell
:: CommandProcessor # concat(*jobs) -> Shell :: Concat (18202.0) -
@todo
@todo -
Shell
:: Filter # concat(*jobs) -> Shell :: Concat (18202.0) -
@todo
@todo -
Array
# concat(*other _ arrays) -> self (18133.0) -
other_arrays の要素を自身の末尾に破壊的に連結します。
...][ruby]{
[ "a", "b" ].concat( ["c", "d"] ) #=> [ "a", "b", "c", "d" ]
[ "a" ].concat( ["b"], ["c", "d"] ) #=> [ "a", "b", "c", "d" ]
[ "a" ].concat #=> [ "a" ]
a = [ 1, 2, 3 ]
a.concat( [ 4, 5 ] )
a #=> [ 1, 2, 3, 4, 5 ]
a = [ 1, 2 ]
a.concat(a, a)... -
Array
# concat(other) -> self (18113.0) -
配列 other を自身の末尾に破壊的に連結します。
...other を自身の末尾に破壊的に連結します。
@param other 自身と連結したい配列を指定します。
//emlist[例][ruby]{
array = [1, 2]
a = [3, 4]
array.concat a
p array # => [1, 2, 3, 4]
p a # => [3, 4] # こちらは変わらない
//}......列 other を自身の末尾に破壊的に連結します。
@param other 自身と連結したい配列を指定します。
//emlist[例][ruby]{
array = [1, 2]
a = [3, 4]
array.concat a
p array # => [1, 2, 3, 4]
p a # => [3, 4] # こちらは変わらない
//}... -
Gem
:: Requirement # concat(requirements) -> Array (18107.0) -
新しい条件(配列)を自身の条件に破壊的に加えます。
...新しい条件(配列)を自身の条件に破壊的に加えます。
@param requirements 条件の配列を指定します。
//emlist[][ruby]{
req = Gem::Requirement.new("< 5.0")
req.concat(["= 1.9"])
puts req # => < 5.0, = 1.9
//}... -
String
# concat(*arguments) -> self (15121.0) -
self に複数の文字列を破壊的に連結します。
...ding です。
self を返します。
@param arguments 複数の文字列もしくは 0 以上の整数
//emlist[例][ruby]{
str = "foo"
str.concat
p str # => "foo"
str = "foo"
str.concat "bar", "baz"
p str # => "foobarbaz"
str = "foo"
str.concat("!", 33, 33)
p str # => "foo!!!"
//}... -
String
# concat(other) -> self (15111.0) -
self に文字列 other を破壊的に連結します。 other が 整数である場合は other.chr(self.encoding) 相当の文字を末尾に追加します。
...に追加します。
self を返します。
@param other 文字列もしくは 0 以上の整数
//emlist[例][ruby]{
str = "string"
str.concat "XXX"
p str # => "stringXXX"
str << "YYY"
p str # => "stringXXXYYY"
str << 65 # 文字AのASCIIコード
p str # => "stringXXXYYYA"
//}... -
StringScanner
# concat(str) -> self (15101.0) -
操作対象の文字列に対し str を破壊的に連結します。 マッチ記録は変更されません。
操作対象の文字列に対し str を破壊的に連結します。
マッチ記録は変更されません。
selfを返します。
@param str 操作対象の文字列に対し str を破壊的に連結します。
//emlist[例][ruby]{
require 'strscan'
s = StringScanner.new('test') # => #<StringScanner 0/4 @ "test">
s.match(/\w(\w*)/) # => "test"
s[0] # => "test"
s[1] ... -
VALUE rb
_ ary _ concat(VALUE ary , VALUE x) (6116.0) -
ary.concat x
...ary.concat x... -
VALUE rb
_ str _ concat(VALUE s1 , VALUE s2) (6116.0) -
equivalent to "s1.concat s2"
...equivalent to "s1.concat s2"...