From e2e2a2d6419fbd495c7ad71073d6c9ac947fbf1b Mon Sep 17 00:00:00 2001
From: Jeremy Fee <jmfee@usgs.gov>
Date: Wed, 8 Jul 2015 14:36:45 -0600
Subject: [PATCH] Add comment for ObjectView class

---
 geomagio/Util.py | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/geomagio/Util.py b/geomagio/Util.py
index 408b2af8..85eee183 100644
--- a/geomagio/Util.py
+++ b/geomagio/Util.py
@@ -1,6 +1,19 @@
+
+
 class ObjectView(object):
+    """
+    Wrap a dictionary so its properties can be accessed as an object.
+
+    Parameters
+    ----------
+    d : dictionary
+        The dictionary to wrap.
+    """
     def __init__(self, d):
         self.__dict__ = d
 
     def __str__(self):
+        """
+        Override string representation to output wrapped dictionary.
+        """
         return str(self.__dict__)
-- 
GitLab