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.
330 331 332 333 |
# File 'lib/braid/operations.rb', line 330 def initialize(hash, mode) @hash = hash @mode = mode end |
Instance Attribute Details
#hash ⇒ Object (readonly)
Returns the value of attribute hash.
335 336 337 |
# File 'lib/braid/operations.rb', line 335 def hash @hash end |
#mode ⇒ Object (readonly)
Returns the value of attribute mode.
337 338 339 |
# File 'lib/braid/operations.rb', line 337 def mode @mode end |