Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Java vs Ruby vs Scala
public class Account implements Serializable {
private String subdomain;
public String getSubdomain() {
return subdomain;
public void setSubdomain(String subdomain) {
this.subdomain = subdomain;
class Account {
include Serializable
attr_accessor :subdomain
class Account(var subdomain : String) with Serializable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.