Class: Braid::Operations::Git::BlobWithMode

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/braid/operations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from T::Sig

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

#hashObject (readonly)

Returns the value of attribute hash.



335
336
337
# File 'lib/braid/operations.rb', line 335

def hash
  @hash
end

#modeObject (readonly)

Returns the value of attribute mode.



337
338
339
# File 'lib/braid/operations.rb', line 337

def mode
  @mode
end