Class: LogfileTransfer::FileMonitorObj

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFileMonitorObj

Returns a new instance of FileMonitorObj.



33
34
35
36
37
38
39
# File 'lib/logfile_transfer.rb', line 33

def initialize
  @absolute_path = ''
  @dir_disallow = []
  @file_disallow = []
  @file_allow = []
  @patterns = []
end

Instance Attribute Details

#absolute_pathObject

Returns the value of attribute absolute_path.



32
33
34
# File 'lib/logfile_transfer.rb', line 32

def absolute_path
  @absolute_path
end

#dir_disallowObject

Returns the value of attribute dir_disallow.



32
33
34
# File 'lib/logfile_transfer.rb', line 32

def dir_disallow
  @dir_disallow
end

#file_allowObject

Returns the value of attribute file_allow.



32
33
34
# File 'lib/logfile_transfer.rb', line 32

def file_allow
  @file_allow
end

#file_disallowObject

Returns the value of attribute file_disallow.



32
33
34
# File 'lib/logfile_transfer.rb', line 32

def file_disallow
  @file_disallow
end

#patternsObject

Returns the value of attribute patterns.



32
33
34
# File 'lib/logfile_transfer.rb', line 32

def patterns
  @patterns
end