diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-07-26 17:26:36 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-07-26 17:26:36 -0700 |
commit | 5f6daf7b670b571447a5d907219ab7804e3c9007 (patch) | |
tree | ec228a87abab99d4dbc0626192d30b724a08888e /spec/tiny_server.rb | |
parent | ba0c5fcd7a1735b4ae170816dc48b05d791b9733 (diff) | |
download | chef-attrs.tar.gz |
Combine attr_readers onto a single lineattrs
The method takes more than 1 argument
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/tiny_server.rb')
-rw-r--r-- | spec/tiny_server.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/tiny_server.rb b/spec/tiny_server.rb index 868933b042..d1075b781d 100644 --- a/spec/tiny_server.rb +++ b/spec/tiny_server.rb @@ -44,9 +44,7 @@ module TinyServer @creator = caller.first end - attr_reader :options - attr_reader :creator - attr_reader :server + attr_reader :options, :creator, :server def start(timeout = 5) raise "Server already started!" if server |