Navigation Menu

Skip to content

Commit

Permalink
Unify to collect
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jun 19, 2013
1 parent 9afcc7d commit b700f75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/droonga/plugin/handler_search.rb
Expand Up @@ -183,7 +183,7 @@ def parseCondition(source, expression, condition)
end

def parseOrderKeys(keys)
keys.map do |key|
keys.collect do |key|
if key =~ /^-/
[$', :descending]
else
Expand Down Expand Up @@ -277,7 +277,7 @@ def simple_record(attributes, record)
STATIC_STRING_VALUE_PATTERN = /\A("[^"]*"|'[^']*')\z/.freeze

def normalize_target_attributes(attributes)
attributes.map do |attribute|
attributes.collect do |attribute|
if attribute.is_a?(String)
{
label: attribute,
Expand Down

0 comments on commit b700f75

Please sign in to comment.