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.



271
272
273
274
# File 'lib/braid/operations.rb', line 271

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

Instance Attribute Details

#hashObject (readonly)

Returns the value of attribute hash.



275
276
277
# File 'lib/braid/operations.rb', line 275

def hash
  @hash
end

#modeObject (readonly)

Returns the value of attribute mode.



275
276
277
# File 'lib/braid/operations.rb', line 275

def mode
  @mode
end