lib/code/node/base_8.rb in code-ruby-0.11.0 vs lib/code/node/base_8.rb in code-ruby-0.12.0

- old
+ new

@@ -7,14 +7,10 @@ return if parsed.blank? @base_8 = parsed.presence end def evaluate(**_args) - if @base_8 - Object::Integer.new(@base_8.to_i(8)) - else - Object::Nothing.new - end + @base_8 ? Object::Integer.new(@base_8.to_i(8)) : Object::Nothing.new end end end end