mirror of
https://github.com/cyberarm/i-mic-rts.git
synced 2025-12-15 15:52:34 +00:00
Added initial tools support, minor refactor to sidebar actions
This commit is contained in:
@@ -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!"
|
||||
|
||||
Reference in New Issue
Block a user