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.



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

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

Instance Attribute Details

#hashObject (readonly)

Returns the value of attribute hash.



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

def hash
  @hash
end

#modeObject (readonly)

Returns the value of attribute mode.



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

def mode
  @mode
end