Exception: Razor::Rake::Git::BranchError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Razor::Rake::Git::BranchError
- Defined in:
- lib/razor/rake/git_generate.rb
Instance Method Summary collapse
-
#initialize(branch) ⇒ BranchError
constructor
A new instance of BranchError.
Constructor Details
#initialize(branch) ⇒ BranchError
Returns a new instance of BranchError.
15 16 17 |
# File 'lib/razor/rake/git_generate.rb', line 15 def initialize(branch) super("Must be on #{branch}") end |