made our wrapper objects for all of our primitve
datatypes: ints, bools and null
This commit is contained in:
9
src/object/integers.cpp
Normal file
9
src/object/integers.cpp
Normal file
@@ -0,0 +1,9 @@
|
||||
#include "integers.hpp"
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace object {
|
||||
std::string integer::inspect() {
|
||||
return std::to_string(value);
|
||||
}
|
||||
} // namespace object
|
Reference in New Issue
Block a user