Style cleanup

This commit is contained in:
Ernie Miller 2012-10-11 09:11:39 -04:00
parent b36951ac58
commit 91c6ae0e8b
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ module Ransack
Nodes::Sort.new(@context).build(opts)
end
def respond_to?(method_id, include_private=false)
def respond_to?(method_id, include_private = false)
super or begin
method_name = method_id.to_s
writer = method_name.sub!(/\=$/, '')

View File

@ -242,7 +242,7 @@ module Ransack
describe '#respond_to' do
it 'is aware of second argument' do
Search.new(Person).respond_to?(:name_eq, true).should be
Search.new(Person).respond_to?(:name_eq, true).should be_true
end
end