m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2019-08-24 20:55:06 -0700
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2019-08-24 20:55:06 -0700
commit7d086ae2edcc6edabe65e6aa9265e756504a64ad (patch)
treefa49fbeb797db0fbd7dfa1b9400dc88f3db5d362
parente3afffc91d678301fcf7660db541cacc8b7a4e8d (diff)
Index hash with string
-rw-r--r--engine.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine.rb b/engine.rb
index 638a80e..b04e2f2 100644
--- a/engine.rb
+++ b/engine.rb
@@ -38,7 +38,7 @@ class Engine
def state_h
hash = state_to_hash
- hash[:checksum] = checksum hash
+ hash['checksum'] = checksum hash
hash
end