|
Rice
3.0.0
|
A wrapper for the ID type. More...
#include <Identifier.hpp>
Public Member Functions | |
| Identifier (ID id) | |
| Construct a new Identifier from an ID. | |
| Identifier (Symbol const &symbol) | |
| Construct a new Identifier from a Symbol. | |
| Identifier (char const *s="") | |
| Construct a new Identifier from a string. | |
| char const * | c_str () const |
| Return a string representation of the Identifier. | |
| std::string | str () const |
| Return a string representation of the Identifier. | |
| ID | id () const |
| Return the underlying ID. | |
| operator ID () const | |
| Return the underlying ID. | |
| VALUE | to_sym () const |
| Return the ID as a Symbol. | |
A wrapper for the ID type.
An ID is ruby's internal representation of a Symbol object.