lib/apstrings/kv_pair.rb in apstrings-0.3.6 vs lib/apstrings/kv_pair.rb in apstrings-0.3.7
- old
+ new
@@ -6,14 +6,15 @@
@line = line
@raw_comment = comment
end
def key
- line.key.strip unless line.key.nil?
+ line.key unless line.key.nil?
end
def value
- line.value.strip unless line.key.nil?
+ # puts line
+ line.value unless line.key.nil?
end
def comment
if raw_comment.nil?
@raw_comment = ""