るりまサーチ

最速Rubyリファレンスマニュアル検索!
33件ヒット [1-33件を表示] (0.027秒)
トップページ > クエリ:put[x] > クエリ:output_encoding=[x]

別のキーワード

  1. irb/output-method print
  2. readline output=
  3. prettyprint output
  4. rss output_encoding=
  5. rss output_encoding

ライブラリ

モジュール

キーワード

検索結果

RSS::RootElementMixin#output_encoding= (21201.0)

@todo

@todo

RSS::RootElementMixin#output_encoding (6101.0)

@todo

@todo

ruby 1.8.3 feature (12.0)

ruby 1.8.3 feature *((<ruby 1.8 feature>)) *((<ruby 1.8.2 feature>))

...
禁止されるようになりました。

$ cat mthd_taint.rb
th = Thread.new{
$SAFE = 3
class Hoge
def foo
put
s "safe level: #{$SAFE}"
end
end
}
th.join
p $SAFE
Hoge.new.foo

$ ruby-1.8.2 mthd_taint.rb
0
"sa...
...((<ruby-talk:146776>)) ((<ruby-talk:146894>))
$ cat test_dlg.rb
foo = Object.new
foo2 = SimpleDelegator.new(foo)
def foo.bar
put
s "bar"
end
foo2.bar

$ ruby-1.8.2 -r delegate test_dlg.rb
test_dlg.rb:6: undefined method `bar' for #<Object:0x4021b0a0> (N...
...ーディングを変換するメソッドを公開。

valueのエンコーディングは要素の内部エンコーディングからoutput_encoding=で設定したエンコーディングへ変換されます。

: StringIO [lib] [compat]
close, close_read, close_write が ((<IO>)) と...