Class: Rubex::DataType::RubyClass
- Inherits:
-
RubyConstant
- Object
- RubyObject
- RubyConstant
- Rubex::DataType::RubyClass
- Defined in:
- lib/rubex/data_type.rb
Instance Attribute Summary collapse
-
#ancestor ⇒ Object
readonly
Returns the value of attribute ancestor.
-
#c_name ⇒ Object
readonly
Returns the value of attribute c_name.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#scope ⇒ Object
readonly
Returns the value of attribute scope.
Attributes inherited from RubyConstant
Instance Method Summary collapse
-
#initialize(name, c_name, scope, ancestor) ⇒ RubyClass
constructor
A new instance of RubyClass.
- #ruby_class? ⇒ Boolean
Methods inherited from RubyConstant
Methods inherited from RubyObject
Methods included from Helpers
#==, #base_type, #c_function_ptr?, #char_ptr?, #from_ruby_object, #to_ruby_object
Constructor Details
#initialize(name, c_name, scope, ancestor) ⇒ RubyClass
Returns a new instance of RubyClass.
635 636 637 |
# File 'lib/rubex/data_type.rb', line 635 def initialize name, c_name, scope, ancestor @name, @c_name, @scope, @ancestor = name, c_name, scope, ancestor end |
Instance Attribute Details
#ancestor ⇒ Object (readonly)
Returns the value of attribute ancestor.
633 634 635 |
# File 'lib/rubex/data_type.rb', line 633 def ancestor @ancestor end |
#c_name ⇒ Object (readonly)
Returns the value of attribute c_name.
633 634 635 |
# File 'lib/rubex/data_type.rb', line 633 def c_name @c_name end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
633 634 635 |
# File 'lib/rubex/data_type.rb', line 633 def name @name end |
#scope ⇒ Object (readonly)
Returns the value of attribute scope.
633 634 635 |
# File 'lib/rubex/data_type.rb', line 633 def scope @scope end |