Advertisement
Guest User

ObjRuby

a guest
Jul 30th, 2012
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.26 KB | None | 0 0
  1. require "obj-ruby"
  2.  
  3. $klazz = Interface.define :NewObj, %<
  4. {
  5.     -hi: 0
  6.     +there: "lol"
  7. }
  8. -(String:Fixnum) test(firstArg: (String Float))
  9. +(Fixnum:Array) testing(theArg: (String Integer),
  10.     theSecondArg: *)
  11. -(*) testarooni (first: *, second: *,
  12.     thrid: *)
  13. >
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement