Created
February 25, 2016 10:41
-
-
Save phil-hudson/c9784048b32be6836d26 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// 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