Module: Groonga
- Defined in:
- lib/groonga.rb,
lib/groonga/dumper.rb,
lib/groonga/logger.rb,
lib/groonga/record.rb,
lib/groonga/schema.rb,
lib/groonga/context.rb,
lib/groonga/posting.rb,
lib/groonga/database.rb,
lib/groonga/geo-point.rb,
lib/groonga/pagination.rb,
lib/groonga/grntest-log.rb,
lib/groonga/memory-pool.rb,
lib/groonga/sub-records.rb,
lib/groonga/view-record.rb,
lib/groonga/index-column.rb,
lib/groonga/query-logger.rb,
lib/groonga/patricia-trie.rb,
lib/groonga/expression-builder.rb,
lib/groonga/expression-builder-19.rb,
lib/groonga/context/command-executor.rb,
ext/groonga/rb-groonga.c
Overview
Copyright © 2011 Kouhei Sutou <[email protected]>
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
Defined Under Namespace
Modules: Dumper, Encoding, EncodingSupport, ExpressionBuildable, GeoPointValueConverter, GrntestLog, Pagination Classes: Accessor, AddressIsInUse, AddressIsNotAvailable, ArgumentListTooLong, Array, ArrayCursor, BadAddress, BadFileDescriptor, BrokenPipe, CASError, CallbackLogger, CallbackQueryLogger, Closed, Column, ColumnExpressionBuilder, ConnectionRefused, Context, Database, DatabaseDumper, DirectoryNotEmpty, DomainError, DoubleArrayTrie, DoubleArrayTrieCursor, EndOfData, Error, ExecFormatError, Expression, FileCorrupt, FileExists, FileLogger, FileQueryLogger, FileTooLarge, FilenameTooLong, FixSizeColumn, FunctionNotImplemented, GeoPoint, Hash, HashCursor, IllegalByteSequence, ImproperLink, InappropriateIOControlOperation, IncompatibleFileFormat, IndexColumn, IndexColumnDumper, InputOutputError, InterruptedFunctionCall, InvalidArgument, InvalidFormat, InvalidSeek, IsADirectory, LZOError, Logger, MatchTargetRecordExpressionBuilder, MemoryPool, NetworkIsDown, NoBuffer, NoChildProcesses, NoLocksAvailable, NoMemoryAvailable, NoSpaceLeftOnDevice, NoSuchColumn, NoSuchDevice, NoSuchDeviceOrAddress, NoSuchFileOrDirectory, NoSuchProcess, Normalizer, NormalizerError, NotADirectory, NotEnoughSpace, NotSocket, Object, ObjectClosed, ObjectCorrupt, OperationNotPermitted, OperationNotSupported, OperationTimeout, OperationWouldBlock, PatriciaTrie, PatriciaTrieCursor, PermissionDenied, Plugin, Posting, QueryLogger, RangeError, ReadOnlyFileSystem, Record, RecordExpressionBuilder, ResourceBusy, ResourceDeadlockAvoided, ResourceTemporarilyUnavailable, ResultTooLarge, RetryMax, Schema, SchemaDumper, Snippet, SocketIsAlreadyConnected, SocketIsAlreadyShutdowned, SocketIsNotConnected, SocketNotInitialized, StackOverFlow, SubRecords, SyntaxError, Table, TableCursor, TableDumper, TokenizerError, TokyoGeoPoint, TooLargeOffset, TooLargePage, TooManyLinks, TooManyOpenFiles, TooManyOpenFilesInSystem, TooManySymbolicLinks, TooSmallLimit, TooSmallOffset, TooSmallPage, TooSmallPageSize, Type, UnknownError, UnsupportedCommandVersion, UpdateNotAllowed, Variable, VariableSizeColumn, ViewRecord, WGS84GeoPoint, ZLibError
Class Method Summary collapse
- .[](name) ⇒ Object
-
.bindings_version ⇒ Object
BINDINGS_VERSIONを“.”で結合して
"メジャーバージョン.マ イナーバージョン.マイクロバージョン"
という形式の文 字列にしたもの。. -
.build_version ⇒ Object
BUILD_VERSIONを“.”で結合して
"メジャーバージョン.マ イナーバージョン.マイクロバージョン"
という形式の 文字列にしたもの。. -
.version ⇒ String
Format version.
Class Method Details
.[](name) ⇒ Object
call-seq:
Groonga[name] -> Groonga::Object or nil
Groonga[id] -> Groonga::Object or nil
87 88 89 |
# File 'lib/groonga.rb', line 87 def [](name) Context.default[name] end |
.bindings_version ⇒ Object
BINDINGS_VERSIONを“.”で結合して"メジャーバージョン.マ イナーバージョン.マイクロバージョン"
という形式の文 字列にしたもの。
77 78 79 |
# File 'lib/groonga.rb', line 77 def bindings_version BINDINGS_VERSION.join(".") end |
.build_version ⇒ Object
BUILD_VERSIONを“.”で結合して"メジャーバージョン.マ イナーバージョン.マイクロバージョン"
という形式の 文字列にしたもの。
58 59 60 |
# File 'lib/groonga.rb', line 58 def build_version BUILD_VERSION.join(".") end |
.version ⇒ String
Format version.
66 67 68 69 70 71 |
# File 'lib/groonga.rb', line 66 def version major, minor, micro, tag = VERSION version_string = [major, minor, micro].join(".") version_string << "-#{tag}" if tag version_string end |