module Mineral
Overview
Every Mineral has hardness (see the Hardness
module).
To create a standard rocky Mineral:
min1 = Mineral.new(108)
min1.to_s
The above produces:
"This is a mineral with id 108 and is called rock"
Check the hardness with #hardness
.
Defined in:
Constant Summary
-
VERSION =
"0.1.0"