这两类问题有一个通用的解决方案。
在facility类中定义irr .RUSERMAP配置文件,并向其授予通用READ访问权限。
Define the IRR.RUSERMAP profile in the FACILITY class and grant it universal READ access.
所有的类都从一个通用的基类继承。
由于Ruby是动态类型的,所以这些子类无需从通用基类中继承。
Since Ruby is dynamically typed, they need not inherit from a common base class.
类来生成通用基础事件并把它们写到输出日志。
Class to generate common base events and to write them to an output log.
没有一个通用的测试环境的话,开发者将只能测试他们修改过的类。
Without a universal test case, developers tend to test only the class they have modified.
一个通用的体系结构策略就是把应用程序分层为不同的类类型。
A common architectural strategy is to layer your application into different class types.
是否还能把更多的方法从子类提升到通用的父类中?
Can I pull more methods from the child into the generic parent class?
是否还能把更多的方法从子类提升到通用的父类中?
Can I pull more methods from the child into the generic parent class?
应用推荐