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