Class: FFI::Generator::Type
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(params = { }) ⇒ Type
constructor
A new instance of Type.
- #to_s ⇒ Object
Methods inherited from Node
Constructor Details
#initialize(params = { }) ⇒ Type
Returns a new instance of Type.
60 61 62 63 |
# File 'lib/generator/generator.rb', line 60 def initialize(params = { }) super @statement = params[:statement] || get_statement end |
Instance Method Details
#to_s ⇒ Object
64 65 66 |
# File 'lib/generator/generator.rb', line 64 def to_s get_type end |