Class: Braid::Operations::Git::BlobWithMode
- Inherits:
-
Object
- Object
- Braid::Operations::Git::BlobWithMode
- Defined in:
- lib/braid/operations.rb
Instance Attribute Summary collapse
-
#hash ⇒ Object
readonly
Returns the value of attribute hash.
-
#mode ⇒ Object
readonly
Returns the value of attribute mode.
Instance Method Summary collapse
-
#initialize(hash, mode) ⇒ BlobWithMode
constructor
A new instance of BlobWithMode.
Constructor Details
#initialize(hash, mode) ⇒ BlobWithMode
Returns a new instance of BlobWithMode.
271 272 273 274 |
# File 'lib/braid/operations.rb', line 271 def initialize(hash, mode) @hash = hash @mode = mode end |
Instance Attribute Details
#hash ⇒ Object (readonly)
Returns the value of attribute hash.
275 276 277 |
# File 'lib/braid/operations.rb', line 275 def hash @hash end |
#mode ⇒ Object (readonly)
Returns the value of attribute mode.
275 276 277 |
# File 'lib/braid/operations.rb', line 275 def mode @mode end |