Class: MockSFTP::SFTPEntry
- Inherits:
-
Object
- Object
- MockSFTP::SFTPEntry
- Defined in:
- lib/mock_sftp.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(props) ⇒ SFTPEntry
constructor
A new instance of SFTPEntry.
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
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/mock_sftp.rb', line 4 def name @name end |