tuvi 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/lib/tuvi/version.rb +1 -1
  2. data/lib/tuvi.rb +4 -5
  3. metadata +3 -3
data/lib/tuvi/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Tuvi
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
data/lib/tuvi.rb CHANGED
@@ -31,12 +31,11 @@ module Tuvi
31
31
 
32
32
  def determine_next_step(current_step, input)
33
33
  if current_step.answer_paths[input]
34
- next_step_position = current_step.answer_paths[input]
35
- else
36
- puts "Sorry, I don't understand that answer. Please try again:"
37
- next_step_position = current_step.position
34
+ return current_step.answer_paths[input]
38
35
  end
39
- next_step_position
36
+
37
+ puts "Sorry, I don't understand that answer. Please try again:"
38
+ current_step.position
40
39
  end
41
40
 
42
41
  def exit_program
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tuvi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -96,7 +96,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
96
96
  version: '0'
97
97
  segments:
98
98
  - 0
99
- hash: -2407453219098423058
99
+ hash: 4086389073629585186
100
100
  required_rubygems_version: !ruby/object:Gem::Requirement
101
101
  none: false
102
102
  requirements:
@@ -105,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
105
105
  version: '0'
106
106
  segments:
107
107
  - 0
108
- hash: -2407453219098423058
108
+ hash: 4086389073629585186
109
109
  requirements: []
110
110
  rubyforge_project:
111
111
  rubygems_version: 1.8.25