Class: Privacy::Processor
- Inherits:
-
Object
- Object
- Privacy::Processor
- Defined in:
- lib/privacy/processor.rb
Constant Summary collapse
- DIRECTORY =
'processed'
Instance Attribute Summary collapse
-
#file ⇒ Object
readonly
Returns the value of attribute file.
Instance Method Summary collapse
-
#initialize(file) ⇒ Processor
constructor
A new instance of Processor.
Constructor Details
#initialize(file) ⇒ Processor
Returns a new instance of Processor.
10 11 12 13 |
# File 'lib/privacy/processor.rb', line 10 def initialize(file) @file = file process unless @file.start_with? '~' end |
Instance Attribute Details
#file ⇒ Object (readonly)
Returns the value of attribute file.
6 7 8 |
# File 'lib/privacy/processor.rb', line 6 def file @file end |