Skip to content

Commit bd462f6

Browse files
committed
Remove unnecessary instance var assignment in Question::Base
Instance variables are set to `nil` by default, so this assignment is unnecessary.
1 parent 5afe8e1 commit bd462f6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/smart_answer/question/base.rb

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ class Base < Node
44
class NextNodeUndefined < StandardError; end
55

66
def initialize(flow, name, options = {}, &block)
7-
@save_input_as = nil
87
@validations = []
98
@default_next_node_block = lambda { |_| nil }
109
@permitted_next_nodes = []

0 commit comments

Comments
 (0)