lib/more/facets/expirable.rb in facets-2.6.0 vs lib/more/facets/expirable.rb in facets-2.7.0

- old
+ new

@@ -1,28 +1,23 @@ -# = Expirable +# Expirable # -# Generic expirability mixin. +# Copyright (c) 2004 George Moschovitis # -# == Authors +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# * George Moschovitis +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. # -# == Copying -# -# Copyright (c) 2004 George Moschovitis -# -# Ruby License -# -# This module is free software. You may use, modify, and/or redistribute this -# software under the same terms as Ruby. -# -# This program is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. +# You should have received a copy of the GNU Lesser General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. -# = Expirable -# + # Generic expirability mixin. # module Expirable attr_accessor :expires @@ -55,28 +50,5 @@ def touch! end end - - -# _____ _ -# |_ _|__ ___| |_ -# | |/ _ \/ __| __| -# | | __/\__ \ |_ -# |_|\___||___/\__| -# - -# TODO - -=begin #test - - require 'test/unit' - - class TC_Expirable < Test::Unit::TestCase - - def test_01 - end - - end - -=end