rubyx/lib/sof/volotile.rb
2014-08-26 11:50:43 +03:00

15 lines
292 B
Ruby

module Sof
class Volotile
@@mapping = {
Virtual::Block => [:method],
Virtual::MethodDefinition => [:current]
}
def self.attributes clazz
@@mapping[clazz] || []
end
def self.add clazz , attributes
@@mapping[clazz] = attributes
end
end
end