Class: Lecter::FileListing

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(file_path, html_rows) ⇒ FileListing

Returns a new instance of FileListing.



61
62
63
64
# File 'lib/lecter/html_generator.rb', line 61

def initialize(file_path, html_rows)
  @file_path = file_path
  @html_rows = html_rows
end

Instance Attribute Details

#file_pathObject (readonly)

Returns the value of attribute file_path.



59
60
61
# File 'lib/lecter/html_generator.rb', line 59

def file_path
  @file_path
end

#html_rowsObject (readonly)

Returns the value of attribute html_rows.



59
60
61
# File 'lib/lecter/html_generator.rb', line 59

def html_rows
  @html_rows
end