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

Inherits:
Object
  • Object
show all
Defined in:
lib/braid/operations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(hash, mode) ⇒ BlobWithMode

Returns a new instance of BlobWithMode.



257
258
259
260
# File 'lib/braid/operations.rb', line 257

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

Instance Attribute Details

#hashObject (readonly)

Returns the value of attribute hash.



261
262
263
# File 'lib/braid/operations.rb', line 261

def hash
  @hash
end

#modeObject (readonly)

Returns the value of attribute mode.



261
262
263
# File 'lib/braid/operations.rb', line 261

def mode
  @mode
end