diff --git a/SUMMARY.md b/SUMMARY.md index d5606a2..315d8cb 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -44,6 +44,7 @@ * [Unused variable format](tricks/unused-variable-format.md) * [Variables from a regex](tricks/variables-from-a-regex.md) * [Zip](tricks/zip.md) + * [Introspecting Block Parameters](tricks/introspecting_block_parameters.md) * [Idiomatic Ruby](idiomatic_ruby.md) * [Each vs map](idiomatic_ruby/each_vs_map.md) * [Conditional assignment](idiomatic_ruby/conditional_assignment.md) @@ -54,7 +55,6 @@ * [Array Sample (enumerables)](idiomatic_ruby/array_sample.md) * [Use Fixnum#times](idiomatic_ruby/use_times.md) * [Implicit Return](idiomatic_ruby/implicit_return.md) - * [Introspecting Block Parameters](idiomatic_ruby/introspecting_block_parameters.md) * [Refactorings](refactorings.md) * [Conditionals when object is nil](refactorings/conditionals_when_object_is_nil.md) * [Switch case with Hashes](refactorings/case_with_hashes.md) diff --git a/idiomatic_ruby.md b/idiomatic_ruby.md index 7d3ead9..a69e2e2 100644 --- a/idiomatic_ruby.md +++ b/idiomatic_ruby.md @@ -9,4 +9,3 @@ * [Array Sample (enumerables)](idiomatic_ruby/array_sample.md) * [Use Fixnum#times](idiomatic_ruby/use_times.md) * [Implicit Return](idiomatic_ruby/implicit_return.md) - * [Introspecting Block Parameters](idiomatic_ruby/introspecting_block_parameters.md) diff --git a/tricks.md b/tricks.md index b3613d3..036e7df 100644 --- a/tricks.md +++ b/tricks.md @@ -44,3 +44,4 @@ The majority of these Ruby Tricks were extracted from James Edward Gray II [talk * [Unused variable format](tricks/unused-variable-format.md) * [Variables from a regex](tricks/variables-from-a-regex.md) * [Zip](tricks/zip.md) +* [Introspecting Block Parameters](tricks/introspecting_block_parameters.md) diff --git a/idiomatic_ruby/introspecting_block_parameters.md b/tricks/introspecting_block_parameters.md similarity index 100% rename from idiomatic_ruby/introspecting_block_parameters.md rename to tricks/introspecting_block_parameters.md