Module: Rednode::Constants

Included in:
Process
Defined in:
lib/rednode/constants.rb

Class Method Summary collapse

Class Method Details

.defc(name, value) ⇒ Object



4
5
6
7
8
# File 'lib/rednode/constants.rb', line 4

def self.defc(name, value)
  self.send(:define_method, name) do ||
    value
  end
end