Class: Rubycritic::Generator::CurrentCodeFile
- Defined in:
- lib/rubycritic/report_generators/current_code_file.rb
Constant Summary
Constants inherited from CodeFile
Rubycritic::Generator::CodeFile::LINE_NUMBER_OFFSET, Rubycritic::Generator::CodeFile::TEMPLATE
Constants inherited from Base
Base::LAYOUT_TEMPLATE, Base::TEMPLATES_DIR
Instance Method Summary collapse
Methods inherited from CodeFile
Methods inherited from Base
erb_template, #file_href, #file_pathname, #render
Methods included from ViewHelpers
#asset_path, #file_path, #javascript_tag, #smell_location_path, #stylesheet_path, #timeago_tag
Constructor Details
This class inherits a constructor from Rubycritic::Generator::CodeFile
Instance Method Details
#file_directory ⇒ Object
7 8 9 |
# File 'lib/rubycritic/report_generators/current_code_file.rb', line 7 def file_directory @file_directory ||= root_directory end |
#file_name ⇒ Object
11 12 13 |
# File 'lib/rubycritic/report_generators/current_code_file.rb', line 11 def file_name "current_file.html" end |