Charyf/charyf-core

View on GitHub
lib/charyf/engine/skill/info.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Charyf
  module Skill
    module Info

      def self.included(base)
        base.extend(ClassMethods)
      end

      module ClassMethods

        def skill_name(name = nil)
          if name
            @_name = name.to_sym
          end

          @_name || self.name.gsub('::', ' ')
        end

      end

    end
  end
end