Class: AdLint::Postfilter::CmaConfig
- Includes:
- PathUtil
- Defined in:
- lib/adlint/postfilter/config.rb
Instance Attribute Summary collapse
-
#msg_fpath ⇒ Object
readonly
Returns the value of attribute msg_fpath.
-
#suppression_list ⇒ Object
readonly
Returns the value of attribute suppression_list.
Instance Method Summary collapse
-
#initialize(config_fpath, traits_fpath, strip_num, output_dpath, sma_configs) ⇒ CmaConfig
constructor
A new instance of CmaConfig.
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, strip_num, output_dpath, sma_configs) ⇒ CmaConfig
Returns a new instance of CmaConfig.
226 227 228 229 230 231 232 233 |
# File 'lib/adlint/postfilter/config.rb', line 226 def initialize(config_fpath, traits_fpath, strip_num, output_dpath, sma_configs) super(config_fpath, traits_fpath, strip_num) project_name = adlint_traits.of_project.project_name @msg_fpath = cma_msg_fpath_of(project_name, output_dpath) @suppression_list = create_suppression_list(sma_configs) end |
Instance Attribute Details
#msg_fpath ⇒ Object (readonly)
Returns the value of attribute msg_fpath.
235 236 237 |
# File 'lib/adlint/postfilter/config.rb', line 235 def msg_fpath @msg_fpath end |
#suppression_list ⇒ Object (readonly)
Returns the value of attribute suppression_list.
236 237 238 |
# File 'lib/adlint/postfilter/config.rb', line 236 def suppression_list @suppression_list end |