class Enumerable::FirstAndOnly::CountNotOne
Public Class Methods
new(count)
click to toggle source
Calls superclass method
# File lib/first_and_only.rb, line 11 def initialize(count) super("Expected the count to be 1, but it was #{count}.") end