require "fiona7/obj_class_name_mangler" module Fiona7 class AttributeNameMangler def initialize(attribute, obj_class) @attribute = attribute @obj_class = obj_class end def mangle if Fiona7.mode == :standalone mangled_obj_class = Fiona7::ObjClassNameMangler.new(@obj_class).mangle "s_#{mangled_obj_class}__#{@attribute}" else @attribute end end end end