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