Mercurial Hosting > luan
diff core/src/luan/modules/IoLuan.java @ 267:1507149fc447
rename Io.get() to Io.Uri()
git-svn-id: https://luan-java.googlecode.com/svn/trunk@268 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Wed, 29 Oct 2014 22:05:55 +0000 |
parents | 454a486d9c19 |
children | eb27e765affb |
line wrap: on
line diff
--- a/core/src/luan/modules/IoLuan.java Wed Oct 29 16:31:48 2014 +0000 +++ b/core/src/luan/modules/IoLuan.java Wed Oct 29 22:05:55 2014 +0000 @@ -41,7 +41,7 @@ try { add( module, "read_console_line", String.class ); module.put( "protocols", newProtocols() ); - add( module, "get", LuanState.class, String.class, Boolean.class ); + add( module, "Uri", LuanState.class, String.class, Boolean.class ); module.put( "stdin", stdin.table() ); add( module, "socket_server", Integer.TYPE ); } catch(NoSuchMethodException e) { @@ -552,7 +552,7 @@ return t; } - public static LuanTable get(LuanState luan,String name,Boolean loading) throws LuanException { + public static LuanTable Uri(LuanState luan,String name,Boolean loading) throws LuanException { int i = name.indexOf(':'); if( i == -1 ) throw luan.exception( "invalid Io name '"+name+"', missing protocol" );