# File lib/branch.rb, line 108 def self.check_opts(opts) if opts[:action] == :push_stable || opts[:action] == :release then if opts[:br_suff] != "master" then raise "Action #{opts[:action]} can only be done on 'master' suffixed branches" end end if opts[:action] == :delete then if opts[:br_suff] == "master" then raise "Action #{opts[:action]} can NOT be done on 'master' suffixed branches" end end end