class Bugzilla::Skeleton
Bugzilla::Skeleton
¶ ↑
Public Class Methods
new(iface)
click to toggle source
# File lib/bugzilla/skeleton.rb, line 31 def initialize(iface) @iface = iface end
Public Instance Methods
method_missing(symbol, *args)
click to toggle source
# File lib/bugzilla/skeleton.rb, line 35 def method_missing(symbol, *args) m = "_#{symbol}" klass = self.class.to_s.sub(/\ABugzilla::/, '') fm = "#{klass}.#{symbol}" if self.respond_to?(m, true) then __send__(m, fm, *args) else raise NoMethodError, sprintf("No such Bugzilla APIs: %s.%s", klass, symbol) end end