# File lib/facets/core/kernel/with_accessor.rb, line 12 def with_reader(h) (class << self ; self ; end).send( :attr_reader, *h.keys ) h.each { |k,v| instance_variable_set("@#{k}", v) } end