I want to use IceRuby in RubyOnRail.
I got success in getting output using IceRuby in "tst.rb" example
file.
but i get output in my command prompt.
My prob, is i want to use my example script "tst.rb" in my RubyonRail
controller, but i don''t know where to put my example script, in which
folder & how i can call my "tst.rb" in my controller.
my example script is like this :
==========================require ''Ice''
Ice::loadSlice(''D3I.ice'')
class Client < Ice::Application
def run(args)
......
.....
.....
end
app = Client.new()
exit(app.main(ARGV, "config.client"))
============================
I don''t know how i call this script in my controller
Can you help me.
Thanks
Rama
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---