るりまサーチ

最速Rubyリファレンスマニュアル検索!
584件ヒット [501-584件を表示] (0.021秒)
トップページ > クエリ:variables[x]

別のキーワード

  1. _builtin local_variables
  2. pp pretty_print_instance_variables
  3. win32ole variables
  4. kernel local_variables
  5. module class_variables

ライブラリ

クラス

モジュール

検索結果

<< < ... 4 5 6 >>

WIN32OLE_VARIABLE#ole_type_detail -> [String] (6.0)

変数の型と属性を取得します。

...

@return 変数の型と属性を文字列配列で返します。

tobj = WIN32OLE_TYPE.new('Microsoft XML, v5.0', 'tagSTATSTG')
tobj.variables.each do |v|
puts "#{v.ole_type} [#{v.ole_type_detail.join(', ')}] #{v.name}"
end

出力結果

Unknown Type 31 [] pwcsName # => VT_LP...

WIN32OLE_VARIABLE#variable_kind -> String (6.0)

変数の種類(VARKIND)を取得します。

...VARKINDに対応する文字列を返します。

tobj = WIN32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'XlSheetType')
puts tobj.variables.map {|v| v.variable_kind}.uniq # => CONSTANT

返送値は以下のいずれかとなります。

: PERINSTANCE
インスタンス毎の変...

WIN32OLE_VARIABLE#varkind -> Integer (6.0)

変数の種類(VARKIND)を取得します。

...@return VARKINDに対応する数値を返します。

tobj = WIN32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'XlSheetType')
puts tobj.variables.map {|v| v.varkind}.uniq # => 2

数値の意味については、WIN32OLE_VARIABLE#variable_kindの説明を参照してください。...

WIN32OLE_VARIABLE#visible? -> bool (6.0)

変数の可視性を取得します。

...変数の可視性を取得します。

@return publicアクセス可能であれば真を返します。

tobj = WIN32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'XlSheetType')
puts tobj.variables.map {|v| v.visible?}.uniq # => true...

オブジェクト指向スクリプト言語 Ruby リファレンスマニュアル (6.0)

オブジェクト指向スクリプト言語 Ruby リファレンスマニュアル * Ruby オフィシャルサイト https://www.ruby-lang.org/ja/ * version 2.3 対応リファレンス * 原著:まつもとゆきひろ * 最新版URL: https://www.ruby-lang.org/ja/documentation/

...セスの実行:
* spec/eval
* spec/terminate
* spec/thread
* spec/safelevel

Ruby の文法:
* spec/lexical
* spec/program
* spec/variables
* spec/literal
* spec/operator
* spec/control
* spec/call
* spec/def
* spec/pattern_matching

その他:
* spec/m17n
* spec/regex...
...* spec/class

プロセスの実行:
* spec/eval
* spec/terminate
* spec/thread

Ruby の文法:
* spec/lexical
* spec/program
* spec/variables
* spec/literal
* spec/operator
* spec/control
* spec/call
* spec/def
* spec/pattern_matching

その他:
* spec/m17n
* spec/rege...

絞り込み条件を変える

クラス/メソッドの定義 (6.0)

クラス/メソッドの定義 * クラス/メソッドの定義: * class * singleton_class * module * method * operator * nest_method * eval_method * singleton_method * class_method * limit * 定義に関する操作: * alias * undef * defined

...には別名を付けることができません。
また、インタプリタに対して重要な意味のあるグローバル変数
(d:spec/variables#builtin_variable を参照)を再定義すると動作に
支障を来す場合があります。

alias 式は nil を返します。

====[a:u...

プログラム・文・式 (6.0)

プログラム・文・式 * exp * terminate

...orld!\n"


===[a:exp] 式

例:

true
(1+2)*3
foo()
if test then ok else ng end

Ruby の式には、spec/variables、さまざまなspec/literal、それらの
spec/operator、if や while などのspec/control、spec/call、
spec/defがあります。

...
<< < ... 4 5 6 >>