Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (7 sloc) 182 Bytes
require 'ostruct'
class Pearl < OpenStruct
def method_missing(meth, *args)
return super if meth.to_s =~ /=$/
return self.send("#{meth}=", self.class.new(args))
end
end