diff --git a/lib/private_class.rb b/lib/private_class.rb
index <HASH>..<HASH> 100644
--- a/lib/private_class.rb
+++ b/lib/private_class.rb
@@ -2,6 +2,12 @@ module RubyXL
   class PrivateClass
     private
 
+    def hash_to_array_of_hashes(hash)
+      if hash.is_a?(Hash)
+        hash = [hash]
+      end
+    end
+
     #validate and modify methods
     def validate_horizontal_alignment(alignment)
       if alignment.to_s == '' || alignment == 'center' || alignment == 'distributed' || alignment == 'justify' || alignment == 'left' || alignment == 'right'
added hash_to_array_of_hashes method in private_class