Robert Klemme
8/20/2007 8:10:00 AM
2007/8/19, david karapetyan <dkarapetyan@gmail.com>:
> Ruby modules also allow implementation details and I'm not sure if this is
> also true for java interfaces.
You can only define constants in a Java interface, no methods. A Ruby
module is by far not the equivalent to a Java interface. The short
answer is: there is no equivalent thing in Ruby. It is not needed
because of Ruby's dynamic nature (see Olivier's explanation).
Kind regards
robert