Sha256: bc735e28efaf73091d910d5c68d0bb0ac2a7b42b7df5e2f3516dc8853a51d23f

Contents?: true

Size: 403 Bytes

Versions: 5

Compression:

Stored size: 403 Bytes

Contents

# Author::    Nicolas Pouillard  <ertai@lrde.epita.fr>.
# Copyright:: Copyright (c) 2004, 2005 TTK team. All rights reserved.
# License::   LGPL
# $Id: path.rb 567 2005-04-13 08:00:06Z polrop $


module TTK

  class Logger

    class Path < Array

      def to_s
        '/' + map{ |x| x[0] }.join('/')
      end

      alias :inspect :to_s

    end # class Path

  end # class Logger

end # module TTK

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ttk-0.1.576 lib/ttk/logger/path.rb
ttk-0.2.1 lib/ttk/logger/path.rb
ttk-0.1.580 lib/ttk/logger/path.rb
ttk-0.2.0 lib/ttk/logger/path.rb
ttk-0.1.579 lib/ttk/logger/path.rb