2014-08-14 19:04:15 +02:00
|
|
|
module Sof
|
|
|
|
class Volotile
|
|
|
|
@@mapping = {
|
2014-08-19 21:54:28 +02:00
|
|
|
Virtual::Block => [:method],
|
2014-08-18 16:16:18 +02:00
|
|
|
Virtual::MethodDefinition => [:current]
|
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
|