class Repoaccessor::KV_pair
Attributes
comment[RW]
key[RW]
value[RW]
Public Class Methods
new(key,value,comment)
click to toggle source
# File lib/repoaccessor/xmlfile.rb, line 11 def initialize(key,value,comment) @key = key @value = value @comment = comment end
Public Instance Methods
to_hash()
click to toggle source
# File lib/repoaccessor/xmlfile.rb, line 18 def to_hash { :key => @key, :value => @value, :comment => @comment } end