Skip to content

Instantly share code, notes, and snippets.

@arunk
Created August 19, 2011 06:03
Show Gist options
  • Select an option

  • Save arunk/1156156 to your computer and use it in GitHub Desktop.

Select an option

Save arunk/1156156 to your computer and use it in GitHub Desktop.
Simple Mirah class
class Test
def self.main(args: String[])
puts args.length # signature of this method is public static java.io.PrintStream main(java.lang.String[] args)
#self #according to http://www.mirah.org/wiki/MirahHowto , this should change the method signature to
#return void. instead it changes it to - public static Test main(...
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment