Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
java translation into Ruby
Muhammed Baykal
4/28/2007 3:21:00 PM
hi friends ;
i have recenlty started Ruby;
I have a java source code and it has two interface ;
which are
+widget ,+observer
anologuetimer and digital timer implements both interface
i also have generator class
secondgenerator and minutegenerator are derived from that class
how could you design this structure in Ruby ?
observer{abstract class} ----------------------Generator <interface>
<>---second generator
<>---- minutegenerator
widget<interface>
<>----ana;loguetimer
<>----digitaltimer
============================================
The way this program operates is thus. Generators are objects that
generate messages. These messages are then broadcast out into the world.
For example, the SecondGenerator will send out a message every second
while the MinuteGenerator will send out one every minute
thanks in advance guys
byeee
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
java translation into Ruby
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password