2011/8/14 Phillip Gawlowski <cmdjackryan / gmail.com>:
> What about Modules?
>
> Create a Server module with Server logic, and mix that into your classes.

It's the very same:

module M
  def foo
    puts "HELLO = #{HELLO}"
  end
end

class A
  HELLO = "I'm A"
  extend M
end

A.foo
=> NameError: uninitialized constant M::HELLO

-- 
IƱaki Baz Castillo
<ibc / aliax.net>