Top Level Namespace

Includes:
LibXML

Defined Under Namespace

Modules: LibXML

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(s, *args) ⇒ Object



5
6
7
8
9
10
11
12
# File 'ext/libxml/extconf.rb', line 5

def method_missing(s, *args)
  if v = Config::CONFIG[s] || Config::CONFIG[s.upcase]
    return v
  else
    puts "missing: #{s}"
    super
  end
end

Instance Method Details

#crash(str) ⇒ Object



28
29
30
31
# File 'ext/libxml/extconf.rb', line 28

def crash(str)
  printf(" extconf failure: %s\n", str)
  exit 1
end