Class: Itools::FileResult

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(temp_path, temp_name) ⇒ FileResult

Returns a new instance of FileResult.



6
7
8
9
# File 'lib/itools/file_handle.rb', line 6

def initialize(temp_path,temp_name)
    @file_path = temp_path
    @file_name = temp_name
end

Instance Attribute Details

#file_nameObject

Returns the value of attribute file_name.



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

def file_name
  @file_name
end

#file_pathObject

Returns the value of attribute file_path.



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

def file_path
  @file_path
end

#keywordObject

Returns the value of attribute keyword.



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

def keyword
  @keyword
end