lib/dotini/section.rb
# Represents the section as a hash
Represents the section as a hash
Represents the section as a hash
def to_h
      {}.tap do |hash|
        key_value_pairs.each do |pair|
          next if pair.key.nil?
          hash[pair.key] = pair.value
        end
      end
    end
def to_h { } . tap do | hash | key_value_pairs . each do | pair | next if pair . key . nil? hash [ pair . key ] = pair . value end end end
Represents the section as a hash
Represents the section as a hash