Skip to content

Commit d03eacd

Browse files
committed
Coding style
1 parent 03c8b87 commit d03eacd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/ajax-datatables-rails/datatable/simple_search.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ def value
1515
def regexp?
1616
@options[:regex] == TRUE_VALUE
1717
end
18+
1819
end
1920
end
2021
end

spec/ajax-datatables-rails/datatable/simple_search_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
describe AjaxDatatablesRails::Datatable::SimpleSearch do
44

5-
let(:options) { ActiveSupport::HashWithIndifferentAccess.new({'value'=>'search value', 'regex'=>'true'}) }
5+
let(:options) { ActiveSupport::HashWithIndifferentAccess.new({'value' => 'search value', 'regex' => 'true'}) }
66
let(:simple_search) { AjaxDatatablesRails::Datatable::SimpleSearch.new(options) }
77

88
describe 'option methods' do

0 commit comments

Comments
 (0)