1
0
Fork 0
mirror of https://github.com/rest-client/rest-client.git synced 2022-11-09 13:49:40 -05:00

Fix a large number of style nits.

Working slowly through the rubocop list.
This commit is contained in:
Andy Brody 2014-07-08 03:54:01 -07:00
parent 85ad601e33
commit 543dbc3816
12 changed files with 41 additions and 38 deletions

View file

@ -1,6 +1,6 @@
#!/usr/bin/env ruby
$:.unshift File.dirname(__FILE__) + "/../lib"
$LOAD_PATH.unshift File.dirname(__FILE__) + "/../lib"
require 'rubygems'
require 'restclient'
@ -58,7 +58,7 @@ end
POSSIBLE_VERBS.each do |m|
eval <<-end_eval
def #{m}(path, *args, &b)
r[path].#{m}(*args, &b)
r[path].#{m}(*args, &b)
end
end_eval
end