lib/active_debian_repository/changelog.rb
# Return the default value if the method name is a 
# known changelog property. Raise otherwise.
Return the default value if the method name is a
known changelog property. Raise otherwise.
Return the default value if the method name is a known changelog property . Raise otherwise .
def method_missing (method_name, *args, &block)
        begin
          super 
        rescue NoMethodError 
          if default_values.has_key? method_name 
            return self.default_values[method_name]
          else
            raise NoMethodError 
          end 
        end 
      end
def method_missing ( method_name , * args , & block ) begin super rescue NoMethodError if default_values . has_key? method_name return self . default_values [ method_name ] else raise NoMethodError end end end
Return the default value if the method name is a
known changelog property.
Return the default value if the method name is a known changelog property .
#let activeBase to work as it wish. # if nothing handled it # check if we have a default value # nothing can be done, we give up
method_name
args
block