Sha256: 8af99158509a157dafb06fb8a67b598d6c530554277cec7b2d27090be8ab5f3d
Contents?: true
Size: 549 Bytes
Versions: 1
Compression:
Stored size: 549 Bytes
Contents
require 'vstudioide/core_ext/string' require 'vstudioide/sln_node' module VStudioIDE class SLNDocument attr_reader :global attr_reader :projects def initialize(io) @global = nil @projects = [] parse io end private def parse(io) while io.gets $_.strip! if $_ == "Global" @global = SLNGlobalNode.new(io) elsif $_.begin? "Project" @projects << SLNProjectNode.new($_, io) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vstudioide-0.1.0 | lib/vstudioide/sln_document.rb |