Sha256: 8e67ee60e4ff0dc1478be10403c0e7e3cb80304248dd7500f23261ff19e080a7

Contents?: true

Size: 889 Bytes

Versions: 21

Compression:

Stored size: 889 Bytes

Contents

# -*- coding: utf-8 -*-
#
# Copyright (C) 2013  Kouhei Sutou <kou@clear-code.com>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License version 2.1 as published by the Free Software Foundation.
#
# This library 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.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

module Groonga
  class Table
    def disk_usage
      measurer = StatisticMeasurer.new
      measurer.measure_disk_usage(path)
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
rroonga-4.0.3-x86-mingw32 lib/groonga/table.rb
rroonga-4.0.3-x64-mingw32 lib/groonga/table.rb
rroonga-4.0.3 lib/groonga/table.rb
rroonga-4.0.2-x64-mingw32 lib/groonga/table.rb
rroonga-4.0.2-x86-mingw32 lib/groonga/table.rb
rroonga-4.0.2 lib/groonga/table.rb
rroonga-4.0.1-x86-mingw32 lib/groonga/table.rb
rroonga-4.0.1-x64-mingw32 lib/groonga/table.rb
rroonga-4.0.1 lib/groonga/table.rb
rroonga-4.0.0-x64-mingw32 lib/groonga/table.rb
rroonga-4.0.0-x86-mingw32 lib/groonga/table.rb
rroonga-4.0.0 lib/groonga/table.rb
rroonga-3.1.2-x64-mingw32 lib/groonga/table.rb
rroonga-3.1.2-x86-mingw32 lib/groonga/table.rb
rroonga-3.1.2 lib/groonga/table.rb
rroonga-3.1.1-x64-mingw32 lib/groonga/table.rb
rroonga-3.1.1-x86-mingw32 lib/groonga/table.rb
rroonga-3.1.1 lib/groonga/table.rb
rroonga-3.1.0-x64-mingw32 lib/groonga/table.rb
rroonga-3.1.0-x86-mingw32 lib/groonga/table.rb