Rails
Ruby 2.7.0
6.1
6.0
5.2
5.1
5.0
4.2
2.5.0
2.6.0
3.0
instance method IO#winsize=
winsize=(size)
[
permalink
][
rdoc
][
edit
]
[added by
io/console
]
端末のサイズを設定します。
[PARAM] size:
[rows, columns] を数値の配列で指定します。
効果はプラットフォームや環境に依存します。