class RestMyCase::Context::Errors::Base

Public Class Methods

new(context) click to toggle source
Calls superclass method
# File lib/rest_my_case/context/errors/base.rb, line 5
def initialize(context)
  super()

  @context = context
end

Public Instance Methods

add(error) click to toggle source
# File lib/rest_my_case/context/errors/base.rb, line 11
def add(error)
  push(error)
end