Class: FFI::Type
- Inherits:
-
Object
- Object
- FFI::Type
- Defined in:
- lib/ffi-compiler/fake_ffi/ffi.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ Type
constructor
A new instance of Type.
Constructor Details
#initialize(name) ⇒ Type
Returns a new instance of Type.
13 14 15 |
# File 'lib/ffi-compiler/fake_ffi/ffi.rb', line 13 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
12 13 14 |
# File 'lib/ffi-compiler/fake_ffi/ffi.rb', line 12 def name @name end |