Sha256: 06fa44d23b06a1b66653249aac9e8eed1f65eaa6928d9810d8be767390a1f466

Contents?: true

Size: 951 Bytes

Versions: 1

Compression:

Stored size: 951 Bytes

Contents

# -*- coding: utf-8 -*-
#
# Copyright (C) 2012  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 Database
    # @return [Array<Groonga::Table] tables defined in the database
    def tables
      find_all do |object|
        object.is_a?(Groonga::Table)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rroonga-2.0.5 lib/groonga/database.rb