lib/acts_as_changesetable/acts/common.rb
# Returns the main class' name
Returns the main class' name
Returns the main class ' name
def changeable_class_name
        if(self.changesetable_options.changeable_class)
          self.changesetable_options.changeable_class.to_s 
        elsif(self.to_s.match(/History$/))
            self.to_s.gsub(/History$/, '')
        else
          self.to_s
        end
      end
def changeable_class_name if ( self . changesetable_options . changeable_class ) self . changesetable_options . changeable_class . to_s elsif ( self . to_s . match ( / History$ / ) ) self . to_s . gsub ( / History$ / , '' ) else self . to_s end end
Returns the main class' name
Returns the main class ' name