spec/support/models/my_builder.rb in sinclair-1.2.0 vs spec/support/models/my_builder.rb in sinclair-1.2.1
- old
+ new
@@ -9,13 +9,11 @@
end
end
def add_safe_method
add_method(:symbolize) do
- begin
- @variable.to_sym
- rescue StandardError
- :default
- end
+ @variable.to_sym
+ rescue StandardError
+ :default
end
end
end