Module: RSpeed::Database
- Defined in:
- lib/rspeed/database.rb
Class Method Summary collapse
Class Method Details
.list(key) ⇒ Object
15 16 17 |
# File 'lib/rspeed/database.rb', line 15 def list(key) RSpeed::Redis.list(key).map { |item| JSON.parse(item, symbolize_names: true) } end |
.previous_result ⇒ Object
7 8 9 |
# File 'lib/rspeed/database.rb', line 7 def previous_result list(RSpeed::Variable.previous_result) end |