Class: Imap::Backup::Serializer::Base
- Inherits:
-
Object
- Object
- Imap::Backup::Serializer::Base
- Defined in:
- lib/imap/backup/serializer/base.rb
Instance Attribute Summary collapse
-
#folder ⇒ Object
readonly
Returns the value of attribute folder.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path, folder) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(path, folder) ⇒ Base
Returns a new instance of Base.
10 11 12 13 |
# File 'lib/imap/backup/serializer/base.rb', line 10 def initialize(path, folder) @path, @folder = path, folder Utils.(@path, DIRECTORY_PERMISSIONS) end |
Instance Attribute Details
#folder ⇒ Object (readonly)
Returns the value of attribute folder.
8 9 10 |
# File 'lib/imap/backup/serializer/base.rb', line 8 def folder @folder end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
7 8 9 |
# File 'lib/imap/backup/serializer/base.rb', line 7 def path @path end |