Class: SlnProject::SolutionPropertiesBlock
- Inherits:
-
GlobalSectionBlock
- Object
- BaseBlock
- GlobalSectionBlock
- SlnProject::SolutionPropertiesBlock
- Defined in:
- lib/fastlane/plugin/sapfire/sln_project/global_block.rb
Constant Summary
Constants inherited from GlobalSectionBlock
Instance Attribute Summary collapse
-
#entries ⇒ Object
readonly
Returns the value of attribute entries.
Attributes inherited from GlobalSectionBlock
Instance Method Summary collapse
Methods inherited from GlobalSectionBlock
Constructor Details
This class inherits a constructor from SlnProject::GlobalSectionBlock
Instance Attribute Details
#entries ⇒ Object
Returns the value of attribute entries.
126 127 128 |
# File 'lib/fastlane/plugin/sapfire/sln_project/global_block.rb', line 126 def entries @entries end |
Instance Method Details
#parse(block_str) ⇒ Object
128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 |
# File 'lib/fastlane/plugin/sapfire/sln_project/global_block.rb', line 128 def parse(block_str) is_header = false content_reader = StringIO.new(block_str) self.entries = {} content_reader.each_line do |line| unless is_header is_header = true next end assignment = Assignment.new(line) self.entries[assignment.key] = assignment.value end end |