class Foo
  def bar(x)
    puts x
    end
  def baz
    puts 'baz'
    end
  Const=:someconst
  end

Close enough?

T.