Class: MockSFTP::SFTPEntry

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(props) ⇒ SFTPEntry

Returns a new instance of SFTPEntry.



5
6
7
# File 'lib/mock_sftp.rb', line 5

def initialize(props)
  @name = props[:name]
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



4
5
6
# File 'lib/mock_sftp.rb', line 4

def name
  @name
end