Class: AdLint::Postfilter::SmaConfig
- Includes:
- PathUtil
- Defined in:
- lib/adlint/postfilter/config.rb
Instance Attribute Summary collapse
-
#line_wise_suppressions ⇒ Object
readonly
Returns the value of attribute line_wise_suppressions.
-
#msg_fpath ⇒ Object
readonly
Returns the value of attribute msg_fpath.
-
#suppression_list ⇒ Object
readonly
Returns the value of attribute suppression_list.
-
#tunit_wide_suppressions ⇒ Object
readonly
Returns the value of attribute tunit_wide_suppressions.
Instance Method Summary collapse
-
#initialize(config_fpath, traits_fpath, src_fpath, strip_num, output_dpath = nil) ⇒ SmaConfig
constructor
A new instance of SmaConfig.
Methods included from PathUtil
cma_msg_fpath_of, i_fpath_of, sma_msg_fpath_of
Methods inherited from Config
#individual_suppression_control_enabled?
Constructor Details
#initialize(config_fpath, traits_fpath, src_fpath, strip_num, output_dpath = nil) ⇒ SmaConfig
Returns a new instance of SmaConfig.
137 138 139 140 141 142 143 144 |
# File 'lib/adlint/postfilter/config.rb', line 137 def initialize(config_fpath, traits_fpath, src_fpath, strip_num, output_dpath = nil) super(config_fpath, traits_fpath, strip_num) @msg_fpath = sma_msg_fpath_of(src_fpath, strip_num, output_dpath) @suppression_list = create_suppression_list(src_fpath, strip_num, output_dpath) end |
Instance Attribute Details
#line_wise_suppressions ⇒ Object (readonly)
Returns the value of attribute line_wise_suppressions.
149 150 151 |
# File 'lib/adlint/postfilter/config.rb', line 149 def line_wise_suppressions @line_wise_suppressions end |
#msg_fpath ⇒ Object (readonly)
Returns the value of attribute msg_fpath.
146 147 148 |
# File 'lib/adlint/postfilter/config.rb', line 146 def msg_fpath @msg_fpath end |
#suppression_list ⇒ Object (readonly)
Returns the value of attribute suppression_list.
147 148 149 |
# File 'lib/adlint/postfilter/config.rb', line 147 def suppression_list @suppression_list end |
#tunit_wide_suppressions ⇒ Object (readonly)
Returns the value of attribute tunit_wide_suppressions.
148 149 150 |
# File 'lib/adlint/postfilter/config.rb', line 148 def tunit_wide_suppressions @tunit_wide_suppressions end |