RP's output is the same as ParseTree's output : s-expressions using ruby's arrays and base types. RP的输出与语法分析树的输出相同:用ruby中的数组以及基本类型来表达的s-expression。
I 'm in the process of adding Ruby Reports ( Ruport ) support to the code base, which means we 'll output reports in a wide variety of formats as they become available from the Ruport team. 我正在试图为项目代码添加RubyReports(Ruport)的支持,这意味着,随着Ruport团队不断发布的新的文档输出格式,我们就可以使用这些不同的格式来输出文档报告。
Since Ruby is dynamically typed, they need not inherit from a common base class. 由于Ruby是动态类型的,所以这些子类无需从通用基类中继承。
Yes, these two classes beg to be refactored into extending a base Filter class; however, I want to show polymorphism in action without the classes sharing a type. 是的,这两个类应该被重构以扩展Filter基类;但是,在这里我只是想展示在Ruby中如何利用多态性,而类并不共享相同的类型。