Top Level Namespace

Defined Under Namespace

Modules: Rack, RubyProf Classes: Symbol

Instance Method Summary collapse

Instance Method Details

#add_define(name, value = nil) ⇒ Object



34
35
36
37
38
39
40
# File 'ext/ruby_prof/extconf.rb', line 34

def add_define(name, value = nil)
  if value
    $defs.push("-D#{name}=#{value}")
  else
    $defs.push("-D#{name}")
  end
end