Groups
Groups
Sign in
Groups
Groups
coding kata
Conversations
About
Send feedback
Help
teleprompter in jruby
2 views
Skip to first unread message
drio
unread,
Mar 13, 2011, 6:52:19 PM
3/13/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to coding kata
I have also problems with this interface:
public abstract String translate (String text, String[][] dictionary);
Not sure how to implement those semantics in jruby.
My full jruby code looks like:
require
'java'
java_package
'org.codingkata.unit'
java_import
'org.codingkata.unit.api.IKataSolution'
class
MyKata
java_implements
IKataSolution
# YOUR
IMPLEMENTATION
java_signature 'public abstract String translate (String text,
String[][]
dictionary)';
def self.translate(text,
dictionary)
# code
here
end
end
Anyone?
-drd
Reply all
Reply to author
Forward
0 new messages