2014-08-14 20:04:15 +03:00
|
|
|
module Sof
|
|
|
|
class Volotile
|
|
|
|
@@mapping = {
|
2014-08-19 22:54:28 +03:00
|
|
|
Virtual::Block => [:method],
|
2014-08-28 08:10:33 +03:00
|
|
|
Virtual::CompiledMethod => [:current]
|
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
|