class HrrRbNetconf::Server::Error
Public Class Methods
[](key)
click to toggle source
# File lib/hrr_rb_netconf/server/error.rb, line 14 def [] key __subclass_list__(__method__).find{ |klass| klass::TAG == key } end
inherited(klass)
click to toggle source
# File lib/hrr_rb_netconf/server/error.rb, line 10 def inherited klass @subclass_list.push klass if @subclass_list end
list()
click to toggle source
# File lib/hrr_rb_netconf/server/error.rb, line 18 def list __subclass_list__(__method__).map{ |klass| klass::TAG } end
Private Class Methods
__subclass_list__(method_name)
click to toggle source
# File lib/hrr_rb_netconf/server/error.rb, line 22 def __subclass_list__ method_name send(:method_missing, method_name) unless @subclass_list @subclass_list end