rubyx/lib/sof/volotile.rb

12 lines
208 B
Ruby
Raw Normal View History

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