Class: Overcommit::HookContext::PostRewrite::RewrittenCommit
- Inherits:
-
Struct
- Object
- Struct
- Overcommit::HookContext::PostRewrite::RewrittenCommit
- Defined in:
- lib/overcommit/hook_context/post_rewrite.rb
Overview
Struct encapsulating the old and new SHA1 hashes of a rewritten commit
Instance Attribute Summary collapse
-
#new_hash ⇒ Object
Returns the value of attribute new_hash.
-
#old_hash ⇒ Object
Returns the value of attribute old_hash.
Instance Attribute Details
#new_hash ⇒ Object
Returns the value of attribute new_hash
47 48 49 |
# File 'lib/overcommit/hook_context/post_rewrite.rb', line 47 def new_hash @new_hash end |
#old_hash ⇒ Object
Returns the value of attribute old_hash
47 48 49 |
# File 'lib/overcommit/hook_context/post_rewrite.rb', line 47 def old_hash @old_hash end |