Two classes in one program.

Hi,
Is it possible to write two class in one controller?
e.g:-

class ApplicationController < ActionController::Base
def abc
end
end
class Hash
def xyz
end
end

A file can define as many classes as you want. Rails' automatic
loading of files for you will only be able to locate a class if it is
in the file with the appropriate name.

Fred