lib/ztk/base.rb in ztk-1.4.4 vs lib/ztk/base.rb in ztk-1.4.5

- old
+ new

@@ -1,42 +1,23 @@ -################################################################################ -# -# Author: Zachary Patten <zachary@jovelabs.net> -# Copyright: Copyright (c) Zachary Patten -# License: Apache License, Version 2.0 -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -################################################################################ -require "ostruct" +require 'ostruct' module ZTK - # ZTK::Base General Error Class + # Base Error Class # - # @author Zachary Patten <zachary@jovelabs.net> + # @author Zachary Patten <zachary AT jovelabs DOT com> class BaseError < Error; end - # ZTK Base Class + # Base Class # # This is the base class inherited by most of the other classes in this # library. It provides a standard set of features to control STDOUT, STDERR # and STDIN, a configuration mechanism and logging mechanism. # # You should never interact with this class directly; you should inherit it # and extend functionality as appropriate. # - # @author Zachary Patten <zachary@jovelabs.net> + # @author Zachary Patten <zachary AT jovelabs DOT com> class Base class << self # @param [Hash] configuration Configuration options hash.