Class: ByteArray
- Inherits:
-
PropertyType
- Object
- PropertyType
- ByteArray
- Defined in:
- lib/metarecord/properties.rb
Instance Method Summary collapse
- #default_name ⇒ Object
-
#initialize(parent) ⇒ ByteArray
constructor
A new instance of ByteArray.
Methods inherited from PropertyType
#name, #parameter_type, #pass_by_const_reference?
Constructor Details
#initialize(parent) ⇒ ByteArray
Returns a new instance of ByteArray.
58 59 60 61 62 63 64 65 |
# File 'lib/metarecord/properties.rb', line 58 def initialize parent super(if parent.methods.include?(:nativeTypeNameFor) name = parent.nativeTypeNameFor ByteArray if name == ByteArray then default_name else name end else default_name end) end |
Instance Method Details
#default_name ⇒ Object
67 68 69 |
# File 'lib/metarecord/properties.rb', line 67 def default_name "std::string" end |