class ISO8601::Errors::DurationBaseError
Raise when the base is not suitable.
Public Class Methods
new(duration)
click to toggle source
Calls superclass method
# File lib/iso8601/errors.rb, line 49 def initialize(duration) super("Wrong base for #{duration} duration.") end