summaryrefslogtreecommitdiff
path: root/benchmark/bm_app_fib.rb
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/bm_app_fib.rb')
-rw-r--r--benchmark/bm_app_fib.rb20
1 files changed, 10 insertions, 10 deletions
diff --git a/benchmark/bm_app_fib.rb b/benchmark/bm_app_fib.rb
index 65a149e5c4..34a7b2e725 100644
--- a/benchmark/bm_app_fib.rb
+++ b/benchmark/bm_app_fib.rb
@@ -1,10 +1,10 @@
-def fib n
- if n < 3
- 1
- else
- fib(n-1) + fib(n-2)
- end
-end
-
-fib(34)
-
+def fib n
+ if n < 3
+ 1
+ else
+ fib(n-1) + fib(n-2)
+ end
+end
+
+fib(34)
+