rubyx/lib/sof/volotile.rb

12 lines
208 B
Ruby
Raw Normal View History

module Sof
class Volotile
2014-10-03 13:33:06 +02:00
@@mapping = { }
def self.attributes clazz
@@mapping[clazz] || []
end
2014-08-26 10:50:43 +02:00
def self.add clazz , attributes
@@mapping[clazz] = attributes
end
end
end