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.



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

def initialize(hash, mode)
  @hash = hash
  @mode = mode
end

Instance Attribute Details

#hashObject (readonly)

Returns the value of attribute hash.



341
342
343
# File 'lib/braid/operations.rb', line 341

def hash
  @hash
end

#modeObject (readonly)

Returns the value of attribute mode.



343
344
345
# File 'lib/braid/operations.rb', line 343

def mode
  @mode
end