class MsPac::Error::MissingPellet

Public Class Methods

new(pellet = nil) click to toggle source
Calls superclass method
# File lib/mspac/error/missing_pellet.rb, line 2
def initialize(pellet = nil)
    if (pellet)
        super("Pellet not found: #{pellet}")
    else
        super("No pellets specified")
    end
end