Added initial tools support, minor refactor to sidebar actions

This commit is contained in:
2019-11-27 12:28:43 -06:00
parent 2b1ff35a34
commit 8869ddb3de
17 changed files with 193 additions and 116 deletions

View File

@@ -7,7 +7,7 @@ class IMICRTS
end
def self.inherited(klass)
name = klass.to_s.split("::").last.gsub(/([^A-Z])([A-Z]+)/,'\1_\2').downcase.to_sym
name = klass.to_s.to_snakecase
if get(name)
raise "#{klass.inspect} is already defined!"