Class: Lumino::Version

Inherits:
Object
  • Object
show all
Defined in:
LuminoRubyDoc.rb

Overview

バージョン情報です。

Instance Method Summary (collapse)

Instance Method Details

- (Integer) get_major

メジャーバージョンを取得します。

Returns:

  • (Integer)

    バージョン番号



496
497
# File 'LuminoRubyDoc.rb', line 496

def get_major
end

- (Integer) get_minor

マイナーバージョンを取得します。

Returns:

  • (Integer)

    バージョン番号



501
502
# File 'LuminoRubyDoc.rb', line 501

def get_minor
end

- (Integer) get_revision

リビジョンバージョンを取得します。

Returns:

  • (Integer)

    バージョン番号



506
507
# File 'LuminoRubyDoc.rb', line 506

def get_revision
end

- (String) get_string

バージョン文字列を取得します。

Returns:

  • (String)

    文字列



511
512
# File 'LuminoRubyDoc.rb', line 511

def get_string
end

- (Bool) is_at_least(major, minor, revision)

指定したバージョン番号と、ライブラリファイルのコンパイルバージョン番号を比較します。

 

指定バージョン >= コンパイルバージョン である場合、true となります。

Parameters:

  • major (Integer)

    メジャーバージョン

  • minor (Integer)

    マイナーバージョン

  • revision (Integer)

    リビジョンバージョン

Returns:

  • (Bool)

    結果



521
522
# File 'LuminoRubyDoc.rb', line 521

def is_at_least
end