inspect()
click to toggle source
def inspect
self.default.to_s
end
to_s()
click to toggle source
def to_s
self.default.to_s
end
to_yaml( opts = {} )
click to toggle source
def to_yaml( opts = {} )
opts[:DefaultKey] = self.default
super( opts )
end
update( h )
click to toggle source
def update( h )
if YAML::SpecialHash === h
@default = h.default if h.default
end
super( h )
end