Class: Lecter::FileListing
- Inherits:
-
Object
- Object
- Lecter::FileListing
- Defined in:
- lib/lecter/html_generator.rb
Instance Attribute Summary collapse
-
#file_path ⇒ Object
readonly
Returns the value of attribute file_path.
-
#html_rows ⇒ Object
readonly
Returns the value of attribute html_rows.
Instance Method Summary collapse
-
#initialize(file_path, html_rows) ⇒ FileListing
constructor
A new instance of FileListing.
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_path ⇒ Object (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_rows ⇒ Object (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 |