Skip to content

Instantly share code, notes, and snippets.

@phil-hudson
Created February 25, 2016 10:41
Show Gist options
  • Save phil-hudson/c9784048b32be6836d26 to your computer and use it in GitHub Desktop.
Save phil-hudson/c9784048b32be6836d26 to your computer and use it in GitHub Desktop.
//
// UnitOfMeasure.swift
//
// Created by Phil Hudson on 25/02/2016.
// Copyright © 2016 Phil Hudson. All rights reserved.
//
import Foundation
public class UnitOfMeasure {
let Singular:String
let Plural:String
let Abbreviation: String
init(singular: String, plural: String, abbreviation: String) {
self.Singular = singular
self.Plural = plural
self.Abbreviation = abbreviation
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment