module SvelteOnRails::ActiveRecordClassExtensions

def to_svelte(*attributes)

def to_svelte(*attributes)
  @to_svelte ||= begin
                           cl = SvelteOnRails::Lib::SvelteAttributes
                           cl.new.calculate_class(self, attributes)
                         end
end