class AdLint::ProjectTraits::CodingStyle
Constants
- ALLMAN
- GNU
- K_AND_R
Attributes
indent_style[R]
indent_width[R]
tab_width[R]
Public Class Methods
new(doc)
click to toggle source
# File lib/adlint/traits.rb, line 173 def initialize(doc) @indent_style = doc["indent_style"] @tab_width = doc["tab_width"] @indent_width = doc["indent_width"] end
Public Instance Methods
entity_name()
click to toggle source
# File lib/adlint/traits.rb, line 179 def entity_name "project_traits:coding_style" end
freeze()
click to toggle source
Calls superclass method
# File lib/adlint/traits.rb, line 192 def freeze @indent_style.freeze @tab_width.freeze @indent_width.freeze super end