Navigation Menu

Skip to content

Commit

Permalink
groonga: Fix wrong class path to "Groonga" defined by Rroonga
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 23, 2014
1 parent c0215c8 commit 9c20618
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/droonga/plugins/groonga/column_list.rb
Expand Up @@ -73,18 +73,18 @@ def format_column(column)

def column_type(column)
case column
when Groonga::FixSizeColumn
when ::Groonga::FixSizeColumn
"fix"
when Groonga::VariableSizeColumn
when ::Groonga::VariableSizeColumn
"var"
when Groonga::IndexColumn
when ::Groonga::IndexColumn
"index"
end
end

def column_flags(column)
flags = []
if column.is_a?(Groonga::IndexColumn)
if column.is_a?(::Groonga::IndexColumn)
flags << "COLUMN_INDEX"
flags << "WITH_SECTION" if column.with_section?
flags << "WITH_WEIGHT" if column.with_weight?
Expand All @@ -101,9 +101,9 @@ def column_flags(column)
end

def column_source(column)
return [] unless column.is_a?(Groonga::IndexColumn)
return [] unless column.is_a?(::Groonga::IndexColumn)
column.sources.collect do |source|
if source.is_a?(Groonga::Table)
if source.is_a?(::Groonga::Table)
"_key"
else
source.local_name
Expand Down

0 comments on commit 9c20618

Please sign in to comment.