module AdLint::CodingStyleAccessor

Constants

INDENT_STYLE_ALLMAN
INDENT_STYLE_GNU
INDENT_STYLE_K_AND_R

Public Instance Methods

coding_style() click to toggle source

NOTE: Host class must respond to traits.

# File lib/adlint/traits.rb, line 599
def coding_style
  traits.of_project.coding_style
end
indent_style() click to toggle source
# File lib/adlint/traits.rb, line 603
def indent_style
  coding_style.indent_style
end
indent_width() click to toggle source
# File lib/adlint/traits.rb, line 611
def indent_width
  coding_style.indent_width
end
tab_width() click to toggle source
# File lib/adlint/traits.rb, line 607
def tab_width
  coding_style.tab_width
end