Class: DaVinciPlanNetTestKit::Generator::MustSupportMetadataExtractorUsCore3
- Inherits:
-
Object
- Object
- DaVinciPlanNetTestKit::Generator::MustSupportMetadataExtractorUsCore3
- Defined in:
- lib/davinci_plan_net_test_kit/generator/must_support_metadata_extractor_us_core_3.rb
Instance Attribute Summary collapse
-
#must_supports ⇒ Object
Returns the value of attribute must_supports.
-
#profile ⇒ Object
Returns the value of attribute profile.
Instance Method Summary collapse
- #add_must_support_choices ⇒ Object
- #handle_special_cases ⇒ Object
-
#initialize(profile, must_supports) ⇒ MustSupportMetadataExtractorUsCore3
constructor
A new instance of MustSupportMetadataExtractorUsCore3.
Constructor Details
#initialize(profile, must_supports) ⇒ MustSupportMetadataExtractorUsCore3
Returns a new instance of MustSupportMetadataExtractorUsCore3.
6 7 8 9 |
# File 'lib/davinci_plan_net_test_kit/generator/must_support_metadata_extractor_us_core_3.rb', line 6 def initialize(profile, must_supports) self.profile = profile self.must_supports = must_supports end |
Instance Attribute Details
#must_supports ⇒ Object
Returns the value of attribute must_supports.
4 5 6 |
# File 'lib/davinci_plan_net_test_kit/generator/must_support_metadata_extractor_us_core_3.rb', line 4 def must_supports @must_supports end |
#profile ⇒ Object
Returns the value of attribute profile.
4 5 6 |
# File 'lib/davinci_plan_net_test_kit/generator/must_support_metadata_extractor_us_core_3.rb', line 4 def profile @profile end |
Instance Method Details
#add_must_support_choices ⇒ Object
15 16 17 18 19 20 |
# File 'lib/davinci_plan_net_test_kit/generator/must_support_metadata_extractor_us_core_3.rb', line 15 def add_must_support_choices choices = [] # fill with Plan Net add_must_support_choices must_supports[:choices] = choices if choices.present? end |
#handle_special_cases ⇒ Object
11 12 13 |
# File 'lib/davinci_plan_net_test_kit/generator/must_support_metadata_extractor_us_core_3.rb', line 11 def handle_special_cases add_must_support_choices end |