別のキーワード
ライブラリ
- ビルトイン (220)
- erb (12)
- pp (12)
-
rexml
/ document (36) -
webrick
/ cgi (12) - win32ole (120)
クラス
- Binding (18)
- ERB (12)
- Module (36)
- NameError (10)
- Object (84)
-
REXML
:: XPath (36) - Thread (12)
- TracePoint (12)
-
WEBrick
:: CGI (12) -
WIN32OLE
_ TYPE (12) -
WIN32OLE
_ VARIABLE (96)
モジュール
- Kernel (60)
キーワード
- DATA (12)
-
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 2
. 2 . 0 (11) -
NEWS for Ruby 3
. 0 . 0 (5) - Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (12)
- Ruby用語集 (12)
-
WIN32OLE
_ VARIABLE (12) - binding (12)
-
class
_ variables (12) - constants (24)
- each (12)
- first (12)
-
global
_ variables (12) -
initialize
_ copy (12) -
instance
_ variable _ defined? (12) -
instance
_ variable _ get (12) -
instance
_ variable _ set (12) -
instance
_ variables (12) -
irb
/ completion (12) -
local
_ variables (33) - match (12)
- name (12)
- new (12)
-
ole
_ type (12) -
ole
_ type _ detail (12) -
pretty
_ print _ instance _ variables (12) -
rb
_ f _ global _ variables (12) -
rb
_ f _ local _ variables (12) -
rb
_ mod _ class _ variables (12) -
rb
_ obj _ instance _ variables (12) -
ruby 1
. 8 . 3 feature (12) -
source
_ location (7) - start (12)
-
thread
_ variable _ set (12) -
to
_ s (12) -
trace
_ var (36) - value (12)
-
variable
_ kind (12) - varkind (12)
- visible? (12)
- オブジェクト指向スクリプト言語 Ruby リファレンスマニュアル (12)
- クラス/メソッドの定義 (12)
- プログラム・文・式 (12)
- 変数と定数 (12)
検索結果
先頭5件
-
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があります。
式...