diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/git/stashes.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/git/stashes.rb b/lib/git/stashes.rb index 78b1d59..e1287a5 100644 --- a/lib/git/stashes.rb +++ b/lib/git/stashes.rb @@ -41,8 +41,8 @@ module Git end end - def [](symbol) - @stashes[symbol.to_s] + def [](index) + @stashes[index.to_i] end end |