Module: AdLint::CodingStyleAccessor
- Included in:
- Exam::CBuiltin::W0431, Exam::CBuiltin::W0432, Exam::CBuiltin::W0440
- Defined in:
- lib/adlint/traits.rb
Constant Summary collapse
- INDENT_STYLE_K_AND_R =
ProjectTraits::CodingStyle::K_AND_R
- INDENT_STYLE_ALLMAN =
ProjectTraits::CodingStyle::ALLMAN
- INDENT_STYLE_GNU =
ProjectTraits::CodingStyle::GNU
Instance Method Summary collapse
-
#coding_style ⇒ Object
NOTE: Host class must respond to #traits.
- #indent_style ⇒ Object
- #indent_width ⇒ Object
- #tab_width ⇒ Object
Instance Method Details
#coding_style ⇒ Object
NOTE: Host class must respond to #traits.
599 600 601 |
# File 'lib/adlint/traits.rb', line 599 def coding_style traits.of_project.coding_style end |
#indent_style ⇒ Object
603 604 605 |
# File 'lib/adlint/traits.rb', line 603 def indent_style coding_style.indent_style end |
#indent_width ⇒ Object
611 612 613 |
# File 'lib/adlint/traits.rb', line 611 def indent_width coding_style.indent_width end |
#tab_width ⇒ Object
607 608 609 |
# File 'lib/adlint/traits.rb', line 607 def tab_width coding_style.tab_width end |