Class: SlnProject::GlobalSectionFactory
- Inherits:
-
Object
- Object
- SlnProject::GlobalSectionFactory
- Defined in:
- lib/fastlane/plugin/sapfire/sln_project/global_block.rb
Class Method Summary collapse
Class Method Details
.create(line) ⇒ Object
58 59 60 61 62 63 64 65 66 67 68 69 |
# File 'lib/fastlane/plugin/sapfire/sln_project/global_block.rb', line 58 def self.create(line) type = parse_header(line) case type when GlobalSectionBlock::TYPES[:SolutionConfigurationPlatforms] SolutionConfigurationPlatformsBlock.new(type) when GlobalSectionBlock::TYPES[:SolutionProperties] SolutionPropertiesBlock.new(type) else GlobalSectionBlock.new(GlobalSectionBlock::TYPES[:Unknown]) end end |