aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2019-07-23 01:57:52 -0400
committerPaul Duncan <pabs@pablotron.org>2019-07-23 01:57:52 -0400
commit654647ab7ed7daaf6887c9b93af11a74eeeeab1c (patch)
tree314d4a016881fb993edc69371e3a4cc5c8f20b6a
parent6a1d0df3f58759775ce1bf0fbdcdfa3c1e655647 (diff)
downloadpi4-bench-654647ab7ed7daaf6887c9b93af11a74eeeeab1c.tar.bz2
pi4-bench-654647ab7ed7daaf6887c9b93af11a74eeeeab1c.zip
s/attr_reader/attr/
-rwxr-xr-xrun.rb13
1 files changed, 6 insertions, 7 deletions
diff --git a/run.rb b/run.rb
index 3862a05..c0d8457 100755
--- a/run.rb
+++ b/run.rb
@@ -831,13 +831,12 @@ module PiBench
# Fetch any data (if needed) and parse it.
#
class Model
- attr_reader :config
- attr_reader :log
-
- attr_reader :speeds
- attr_reader :versions
- attr_reader :cpus
- attr_reader :svgs
+ attr :config,
+ :log,
+ :speeds,
+ :versions,
+ :cpus,
+ :svgs
#
# Create model instance based on given config.