controllers/session.rb in nano-bots-0.0.3 vs controllers/session.rb in nano-bots-0.0.4
- old
+ new
@@ -30,15 +30,10 @@
@state = load_state
end
end
def state
- pp({
- state: {
- path: @state_path,
- content: @state
- }
- })
+ { state: { path: @state_path, content: @state } }
end
def load_state
@state = Logic::Helpers::Hash.symbolize_keys(JSON.parse(File.read(@state_path)))
end