Class: DocsValue

Inherits:
GenericValue show all
Defined in:
lib/autoc/scaffold/docs.rb

Constant Summary

Constants inherited from AutoC::Composite

AutoC::Composite::DEFINITIONS, AutoC::Composite::PRIVATE

Constants included from AutoC::Entity

AutoC::Entity::ReferenceSet

Constants included from AutoC::STD

AutoC::STD::ASSERT_H, AutoC::STD::BOOL, AutoC::STD::CHAR, AutoC::STD::COMPLEX, AutoC::STD::COMPLEX_H, AutoC::STD::DOUBLE, AutoC::STD::DOUBLE_COMPLEX, AutoC::STD::DOUBLE_T, AutoC::STD::FLOAT, AutoC::STD::FLOAT_COMPLEX, AutoC::STD::FLOAT_T, AutoC::STD::INT, AutoC::STD::INTMAX_T, AutoC::STD::INTPTR_T, AutoC::STD::INTTYPES_H, AutoC::STD::LONG, AutoC::STD::LONG_DOUBLE, AutoC::STD::LONG_DOUBLE_COMPLEX, AutoC::STD::LONG_LONG, AutoC::STD::MALLOC_H, AutoC::STD::MATH_H, AutoC::STD::PTRDIFF_T, AutoC::STD::SHORT, AutoC::STD::SIGNED_CHAR, AutoC::STD::SIZE_T, AutoC::STD::STDBOOL_H, AutoC::STD::STDDEF_H, AutoC::STD::STDLIB_H, AutoC::STD::STRING_H, AutoC::STD::UINTMAX_T, AutoC::STD::UINTPTR_T, AutoC::STD::UNSIGNED, AutoC::STD::UNSIGNED_CHAR, AutoC::STD::UNSIGNED_LONG, AutoC::STD::UNSIGNED_LONG_LONG, AutoC::STD::UNSIGNED_SHORT, AutoC::STD::WCHAR_T

Instance Attribute Summary collapse

Attributes inherited from AutoC::Composite

#_master, #visibility

Attributes inherited from AutoC::Type

#signature

Instance Method Summary collapse

Methods inherited from GenericValue

#const_lvalue, #const_rvalue, #lvalue, #render_interface, #rvalue

Methods inherited from AutoC::Composite

allocator, allocator=, #const_lvalue, #const_rvalue, decorator, decorator=, #defgroup, #hasher, hasher, hasher=, #identifier, #ingroup, #inspect, #internal?, #lvalue, #memory, new, #prefix, #private?, #public?, #respond_to_missing?, #rvalue, #to_value, #type_tag

Methods included from AutoC::Entity

#<=>, #complexity, #dependencies, #forward_declarations, #implementation, #interface, #position, #references, #total_dependencies, #total_references

Methods inherited from AutoC::Type

abstract, #comparable?, #constructible?, #copy, #copyable?, #custom_constructible?, #custom_create, #default_constructible?, #default_create, #destroy, #destructible?, #hashable?, #inspect, #orderable?, #to_s, #to_type

Constructor Details

#initialize(type, desc) ⇒ DocsValue

Returns a new instance of DocsValue.



71
72
73
74
# File 'lib/autoc/scaffold/docs.rb', line 71

def initialize(type, desc)
  super(type)
  @description = desc
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class AutoC::Composite

Instance Attribute Details

#descriptionObject (readonly)

Returns the value of attribute description.



70
71
72
# File 'lib/autoc/scaffold/docs.rb', line 70

def description
  @description
end