Commits

Kaspar Schiess  committed 25f48d3

Correct ids method

  • Participants
  • Parent commits 49a9eb2

Comments (0)

Files changed (1)

File lib/iscsi/context.rb

         @map[id] || @map[id]=producer.call
       end
       def ids
-        @map.keys
+        if @map.size > 0
+          @map.keys
+        else
+          nil
+        end
       end
     end