Skip to content

Commit

Permalink
Fix syntax error around case-when statements
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 23, 2014
1 parent e1d5808 commit d67a46b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/droonga/plugins/groonga/column_list.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ def format_column(column)
end

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

0 comments on commit d67a46b

Please sign in to comment.