lib/pt-flow/branch.rb in pt-flow-2.3.1 vs lib/pt-flow/branch.rb in pt-flow-2.3.2
- old
+ new
@@ -1,11 +1,9 @@
-require 'i18n'
require 'active_support/core_ext/string/inflections'
module PT::Flow
class Branch
-
attr_accessor :name
def self.current
new(`git rev-parse --abbrev-ref HEAD`.strip)
end
@@ -27,8 +25,7 @@
end
def to_s
name
end
-
end
end