Class: Braid::Operations::Git::BlobWithMode
- Inherits:
-
Object
- Object
- Braid::Operations::Git::BlobWithMode
- Extended by:
- T::Sig
- 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.
Methods included from T::Sig
Constructor Details
#initialize(hash, mode) ⇒ BlobWithMode
Returns a new instance of BlobWithMode.
336 337 338 339 |
# File 'lib/braid/operations.rb', line 336 def initialize(hash, mode) @hash = hash @mode = mode end |
Instance Attribute Details
#hash ⇒ Object (readonly)
Returns the value of attribute hash.
341 342 343 |
# File 'lib/braid/operations.rb', line 341 def hash @hash end |
#mode ⇒ Object (readonly)
Returns the value of attribute mode.
343 344 345 |
# File 'lib/braid/operations.rb', line 343 def mode @mode end |