Class: Rubu::Var

Inherits:
Object
  • Object
show all
Defined in:
lib/rubu.rb

Overview

Option space for program.

Constant Summary

@@var =
{}

Class Method Summary (collapse)

Class Method Details

+ (Object) [](key)

Get Var entry value.



438
439
440
# File 'lib/rubu.rb', line 438

def Var.[]( key )
    @@var[ key ]
end

+ (Object) []=(key, val)

Set Var entry value.



433
434
435
# File 'lib/rubu.rb', line 433

def Var.[]=( key, val )
    @@var[ key ] = val
end