Class: Xdrgen::Generators::Base
- Inherits:
-
Object
- Object
- Xdrgen::Generators::Base
- Defined in:
- lib/xdrgen/generators/base.rb
Instance Method Summary collapse
- #generate ⇒ Object
-
#initialize(top, output, namespace = nil) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(top, output, namespace = nil) ⇒ Base
Returns a new instance of Base.
2 3 4 5 6 |
# File 'lib/xdrgen/generators/base.rb', line 2 def initialize(top, output, namespace=nil) @top = top @output = output @namespace = namespace end |
Instance Method Details
#generate ⇒ Object
8 9 10 |
# File 'lib/xdrgen/generators/base.rb', line 8 def generate raise NotImplementedError end |