class DiamondLang::Errors::InvalidAxis
Public Class Methods
new(axis)
click to toggle source
Calls superclass method
# File lib/diamond-lang/helpers/errors/invalid_axis.rb, line 4 def initialize(axis) super "A cordinate was created with an axis of #{axis}, which isn't in: [#{Helpers::Constants::Axes.join(', ')}]" end