Class: Rubu::Var

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

Overview

Option space for program.

Constant Summary collapse

@@var =
{}

Class Method Summary collapse

Class Method Details

.[](key) ⇒ Object

Get Var entry value.



460
461
462
# File 'lib/rubu.rb', line 460

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

.[]=(key, val) ⇒ Object

Set Var entry value.



455
456
457
# File 'lib/rubu.rb', line 455

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