summaryrefslogtreecommitdiffstats
path: root/lib/git/branch.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/git/branch.rb')
-rw-r--r--lib/git/branch.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/git/branch.rb b/lib/git/branch.rb
index 4b4ecfc..7cef94e 100644
--- a/lib/git/branch.rb
+++ b/lib/git/branch.rb
@@ -72,6 +72,10 @@ module Git
end
end
+ def to_a
+ [@full]
+ end
+
def to_s
@full
end