るりまサーチ

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

別のキーワード

  1. psych plain
  2. scalar plain
  3. psych plain=
  4. scalar plain=
  5. smtp auth_plain

ライブラリ

クラス

キーワード

検索結果

Psych::Nodes::Scalar#plain=(bool) (18112.0)

scalar が plain style であるかどうかを変更します。

...scalar が plain style であるかどうかを変更します。

@
param bool 設定する真偽値
@
see Psych::Nodes::Scalar#plain,
Psych::Nodes::Scalar.new...

Psych::Nodes::Scalar.new(value, anchor=nil, tag=nil, plain=true, quoted=false, style=ANY) -> Psych::Nodes:Scalar (137.0)

Scalar オブジェクトを生成します。

...::Nodes::Scalar::LITERAL
* Psych::Nodes::Scalar::FOLDED

@
param value スカラー値
@
param anchor 関連付けられた anchor の名前
@
param tag タグ名
@
param plain plain style であるかどうか
@
param quoted quoted style であるかどうか
@
param style スカラーのスタイル...

ruby 1.6 feature (60.0)

ruby 1.6 feature ruby version 1.6 は安定版です。この版での変更はバグ修正がメイン になります。

...>))

Object.new.instance_eval {
p remove_instance_variable :@foo
}
=> ruby 1.6.7 (2002-03-01) [i586-linux]
nil

=> -:2:in `remove_instance_variable': instance variable @foo not defined (NameError)
ruby 1.6.7 (2002-04-10) [i586-linux]

:...
...わることはなくなりました。((<ruby-dev:17876>))

class Foo
FOO = 1
@
@foo = 1
end

FOO = 2
@
@foo = 2

Foo.module_eval { p FOO, @@foo }

=> ruby 1.6.7 (2002-03-01) [i586-linux]
1
1

=> ruby 1....
...が"text/plain; charset=iso-8859-1"
のように書き換えられていました。
((<ruby-dev:14716>))

require 'cgi'

TEXT_PLAIN = "text/plain"

cgi = CGI.new
print cgi.header("type" => TEXT_PLAIN,
"charset" => "iso-8859-1")
pr...