method

once

v1_9_2_180 - Show latest stable - Class: Date::Delta
once(*ids)
private

No documentation available.

# File lib/date/delta.rb, line 189
      def once(*ids) # :nodoc: -- restricted
        for id in ids
          module_eval             alias_method :__#{id.object_id}__, :#{id.to_s}            private :__#{id.object_id}__            def #{id.to_s}(*args)              @__ca__[#{id.object_id}] ||= __#{id.object_id}__(*args)            end
        end
      end