├── Chapter01 ├── 00-album-database-2-hash.rb ├── 01-album-database-nested-hash.rb ├── 03-album-database-array-hash.rb ├── 04-lookup-by-artist-array.rb ├── 05-lookup-by-artist-hash.rb ├── 06-lookup-by-artist-set.rb ├── 07-struct-new.rb └── chapter-01.rb ├── Chapter02 ├── 00-array-stack.rb ├── 01-stack.rb ├── 02-symbol-stack.rb ├── 03-single-responsibility-string.rb ├── 04-single-responsibility-builder-modifier.rb ├── 05-single-responsibility-reports.rb ├── 06-open-closed.rb ├── 07-liskov-subsitution-max.rb ├── 08-dependency-inversion-current-day-v1.rb ├── 09-dependency-inversion-current-day-v2.rb ├── 10-dependency-inversion-current-day-v3.rb ├── 11-dependency-inversion-current-day-v4.rb ├── 12-html-table-v1.rb ├── 13-html-table-v2.rb ├── 14-html-table-v3.rb └── chapter-02.rb ├── Chapter03 ├── 00-time-filter-v1.rb ├── 01-time-filter-v2.rb ├── 02-time-filter-v3.rb ├── 03-time-filter-v4.rb ├── 04-scope-gates.rb ├── 05-no-scope-gates.rb ├── 06-information-hiding-deadlock-public-constant.rb ├── 07-information-hiding-deadlock-private-constant.rb ├── 08-invoices-v1.rb ├── 09-invoices-v2.rb ├── 10-invoices-v3.rb ├── 11-frozen-invoices-v1.rb ├── 12-frozen-invoices-v2.rb ├── 13-frozen-invoices-problem-v1.rb ├── 14-frozen-invoices-fix-v1.rb ├── 15-frozen-invoices-fix-v2.rb ├── 16-frozen-invoices-fix-v3.rb ├── 17-frozen-invoices-problem-v2.rb ├── 18-frozen-line-items-v1.rb ├── 19-frozen-line-items-v2.rb ├── 20-invoice-line-item-taxes-v1.rb ├── 21-invoice-line-item-taxes-v2.rb ├── 22-invoice-line-item-taxes-v3.rb ├── 23-constant-scope.rb ├── 24-private-constants.rb ├── 25-class-variables.rb ├── 26-replace-class-variable-with-constants.rb ├── 27-replace-class-variables-with-class-instance-variables-iterative-superclass-lookup.rb ├── 28-replace-class-variables-with-class-instance-variables-recursive-superclass-lookup.rb ├── 29-replace-class-variables-with-class-instance-variables-copying.rb ├── 30-global-variables.rb ├── 31-global-variable-replacement-v1.rb ├── 32-global-variable-replacement-v2.rb └── chapter-03.rb ├── Chapter04 ├── 00-class-methods.rb ├── 01-screen-box-positional.rb ├── 02-screen-box-object.rb ├── 03-screen-box-keyword.rb ├── 04-screen-box-positional-keyword.rb ├── 05-positional-argument-types.rb ├── 06-rest-arguments.rb ├── 07-keyword-arguments.rb ├── 08-block-arguments.rb ├── 09-listen-v1.rb ├── 10-listen-v2.rb ├── 11-listen-v3.rb ├── 12-listen-v4.rb ├── 13-method-visibility.rb ├── 14-constant-visibility.rb ├── 15-deprecate-public.rb ├── 16-delegating-to-another-method.rb ├── 17-delegating-to-another-object.rb ├── 18-forwardable.rb └── chapter-04.rb ├── Chapter05 ├── 00-database-update.rb ├── 01-authorizer-return-value.rb ├── 02-authorizer-exception.rb ├── 03-authorizor-both.rb ├── 04-exception-backtraces.rb ├── 05-broken-circuit.rb ├── 06-add-error-class-as-needed.rb └── chapter-05.rb ├── Chapter06 ├── 00-xyz-point.rb ├── 01-csv.rb └── chapter-06.rb ├── Chapter07 ├── 00-complexity-tradeoffs-v1.rb ├── 01-complexity-tradeoffs-v2.rb ├── 02-complexity-tradeoffs-v3.rb ├── 03-complexity-tradeoffs-v4.rb ├── 04-complexity-tradeoffs-v5.rb ├── 05-complexity-tradeoffs-v6.rb └── chapter-07.rb ├── Chapter08 ├── 00-regular-classes.rb ├── 01-regular-classes-cursed-book-singleton-method.rb ├── 02-regular-classes-cursed-book-extend.rb ├── 03-plugin-system-v1.rb ├── 04-plugin-system-v2.rb ├── 05-plugin-system-v3.rb ├── 06-plugin-system-v4.rb ├── 07-plugin-system-v5.rb ├── 08-plugin-system-v6.rb ├── 09-plugin-system-v7.rb ├── 10-plugin-system-v8.rb ├── 11-plugin-system-v9.rb ├── 12-globally-frozen-locally-mutable.rb └── chapter-08.rb ├── Chapter09 ├── 00-metastruct.rb ├── 01-memomer.rb ├── 02-foostruct-v1.rb ├── 03-foostruct-v2.rb ├── 04-hash-accessor.rb ├── 05-rusty-block.rb ├── 06-rusty-eval.rb ├── 07-guarded-eval.rb ├── 08-words.rb ├── 09-struct-50-method-missing.rb └── chapter-09.rb ├── Chapter10 ├── 00-rspec.rb ├── 01-foo-process-bars.rb ├── 02-sequel.rb ├── 03-minitest.rb ├── 04-sinatra.rb └── chapter-10.rb ├── Chapter11 ├── 00-syntax-checking.rb ├── 01-whichfaster-tad.rb ├── 02-whichfaster-tdd.rb ├── 03-test-complexity.rb ├── 04-unit-testing.rb ├── 05-code-coverage.rb └── chapter-11.rb ├── Chapter12 ├── 00-extract-method-v1.rb ├── 01-extract-method-v2.rb ├── 02-extract-method-v3.rb ├── 03-extract-method-v4.rb ├── 04-extract-method-v5.rb ├── 05-extract-class-v1.rb ├── 06-extract-class-v2.rb ├── 07-extract-class-v3.rb ├── 08-method-deprecation.rb ├── 09-argument-change.rb ├── 10-constant-deprecation.rb └── chapter-12.rb ├── Chapter13 ├── 00-singleton-v1.rb ├── 01-singleton-v2.rb ├── 02-null-object-v1.rb ├── 03-null-object-v2.rb ├── 04-null-object-v3.rb ├── 05-null-object-v4.rb ├── 06-null-object-v5.rb ├── 07-null-object-v6.rb ├── 08-null-object-v7.rb ├── 09-null-object-v8.rb ├── 10-arbitrary-visitor.rb ├── 11-hashed-arbitrary-visitor-v1.rb ├── 12-hashed-arbitrary-visitor-v2.rb ├── 14-adapter.rb ├── 15-strategy.rb ├── 16-adapter-and-strategy.rb └── chapter-13.rb ├── Chapter14 ├── 00-multiply-prof-v1.rb ├── 01-multiply-prof-v2.rb ├── 02-multiply-prof-v3.rb ├── 03-multiply-prof-v4.rb ├── 04-multiply-prof-v5.rb └── chapter-14.rb ├── Chapter15 └── chapter-15.rb ├── Chapter16 ├── 00-nested-routes.rb ├── 01-flat-routes.rb └── chapter-16.rb ├── Chapter17 ├── 00-input-validation-v1.rb ├── 01-input-validation-v2.rb ├── 02-input-validation-v3.rb ├── 03-input-validation-v4.rb ├── 04-input-validation-v5.rb ├── 05-access-control-rails-before-action.rb ├── 06-access-control-rails-skip-before-action.rb ├── 07-access-control-sinatra.rb ├── 08-access-control-roda.rb └── chapter-17.rb ├── LICENSE └── README.md /Chapter01/00-album-database-2-hash.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter01/00-album-database-2-hash.rb -------------------------------------------------------------------------------- /Chapter01/01-album-database-nested-hash.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter01/01-album-database-nested-hash.rb -------------------------------------------------------------------------------- /Chapter01/03-album-database-array-hash.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter01/03-album-database-array-hash.rb -------------------------------------------------------------------------------- /Chapter01/04-lookup-by-artist-array.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter01/04-lookup-by-artist-array.rb -------------------------------------------------------------------------------- /Chapter01/05-lookup-by-artist-hash.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter01/05-lookup-by-artist-hash.rb -------------------------------------------------------------------------------- /Chapter01/06-lookup-by-artist-set.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter01/06-lookup-by-artist-set.rb -------------------------------------------------------------------------------- /Chapter01/07-struct-new.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter01/07-struct-new.rb -------------------------------------------------------------------------------- /Chapter01/chapter-01.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter01/chapter-01.rb -------------------------------------------------------------------------------- /Chapter02/00-array-stack.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter02/00-array-stack.rb -------------------------------------------------------------------------------- /Chapter02/01-stack.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter02/01-stack.rb -------------------------------------------------------------------------------- /Chapter02/02-symbol-stack.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter02/02-symbol-stack.rb -------------------------------------------------------------------------------- /Chapter02/03-single-responsibility-string.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter02/03-single-responsibility-string.rb -------------------------------------------------------------------------------- /Chapter02/04-single-responsibility-builder-modifier.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter02/04-single-responsibility-builder-modifier.rb -------------------------------------------------------------------------------- /Chapter02/05-single-responsibility-reports.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter02/05-single-responsibility-reports.rb -------------------------------------------------------------------------------- /Chapter02/06-open-closed.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter02/06-open-closed.rb -------------------------------------------------------------------------------- /Chapter02/07-liskov-subsitution-max.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter02/07-liskov-subsitution-max.rb -------------------------------------------------------------------------------- /Chapter02/08-dependency-inversion-current-day-v1.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter02/08-dependency-inversion-current-day-v1.rb -------------------------------------------------------------------------------- /Chapter02/09-dependency-inversion-current-day-v2.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter02/09-dependency-inversion-current-day-v2.rb -------------------------------------------------------------------------------- /Chapter02/10-dependency-inversion-current-day-v3.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter02/10-dependency-inversion-current-day-v3.rb -------------------------------------------------------------------------------- /Chapter02/11-dependency-inversion-current-day-v4.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter02/11-dependency-inversion-current-day-v4.rb -------------------------------------------------------------------------------- /Chapter02/12-html-table-v1.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter02/12-html-table-v1.rb -------------------------------------------------------------------------------- /Chapter02/13-html-table-v2.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter02/13-html-table-v2.rb -------------------------------------------------------------------------------- /Chapter02/14-html-table-v3.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter02/14-html-table-v3.rb -------------------------------------------------------------------------------- /Chapter02/chapter-02.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter02/chapter-02.rb -------------------------------------------------------------------------------- /Chapter03/00-time-filter-v1.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter03/00-time-filter-v1.rb -------------------------------------------------------------------------------- /Chapter03/01-time-filter-v2.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter03/01-time-filter-v2.rb -------------------------------------------------------------------------------- /Chapter03/02-time-filter-v3.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter03/02-time-filter-v3.rb -------------------------------------------------------------------------------- /Chapter03/03-time-filter-v4.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter03/03-time-filter-v4.rb -------------------------------------------------------------------------------- /Chapter03/04-scope-gates.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter03/04-scope-gates.rb -------------------------------------------------------------------------------- /Chapter03/05-no-scope-gates.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter03/05-no-scope-gates.rb -------------------------------------------------------------------------------- /Chapter03/06-information-hiding-deadlock-public-constant.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter03/06-information-hiding-deadlock-public-constant.rb -------------------------------------------------------------------------------- /Chapter03/07-information-hiding-deadlock-private-constant.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter03/07-information-hiding-deadlock-private-constant.rb -------------------------------------------------------------------------------- /Chapter03/08-invoices-v1.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter03/08-invoices-v1.rb -------------------------------------------------------------------------------- /Chapter03/09-invoices-v2.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter03/09-invoices-v2.rb -------------------------------------------------------------------------------- /Chapter03/10-invoices-v3.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter03/10-invoices-v3.rb -------------------------------------------------------------------------------- /Chapter03/11-frozen-invoices-v1.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter03/11-frozen-invoices-v1.rb -------------------------------------------------------------------------------- /Chapter03/12-frozen-invoices-v2.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter03/12-frozen-invoices-v2.rb -------------------------------------------------------------------------------- /Chapter03/13-frozen-invoices-problem-v1.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter03/13-frozen-invoices-problem-v1.rb -------------------------------------------------------------------------------- /Chapter03/14-frozen-invoices-fix-v1.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter03/14-frozen-invoices-fix-v1.rb -------------------------------------------------------------------------------- /Chapter03/15-frozen-invoices-fix-v2.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter03/15-frozen-invoices-fix-v2.rb -------------------------------------------------------------------------------- /Chapter03/16-frozen-invoices-fix-v3.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter03/16-frozen-invoices-fix-v3.rb -------------------------------------------------------------------------------- /Chapter03/17-frozen-invoices-problem-v2.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter03/17-frozen-invoices-problem-v2.rb -------------------------------------------------------------------------------- /Chapter03/18-frozen-line-items-v1.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter03/18-frozen-line-items-v1.rb -------------------------------------------------------------------------------- /Chapter03/19-frozen-line-items-v2.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter03/19-frozen-line-items-v2.rb -------------------------------------------------------------------------------- /Chapter03/20-invoice-line-item-taxes-v1.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter03/20-invoice-line-item-taxes-v1.rb -------------------------------------------------------------------------------- /Chapter03/21-invoice-line-item-taxes-v2.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter03/21-invoice-line-item-taxes-v2.rb -------------------------------------------------------------------------------- /Chapter03/22-invoice-line-item-taxes-v3.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter03/22-invoice-line-item-taxes-v3.rb -------------------------------------------------------------------------------- /Chapter03/23-constant-scope.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter03/23-constant-scope.rb -------------------------------------------------------------------------------- /Chapter03/24-private-constants.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter03/24-private-constants.rb -------------------------------------------------------------------------------- /Chapter03/25-class-variables.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter03/25-class-variables.rb -------------------------------------------------------------------------------- /Chapter03/26-replace-class-variable-with-constants.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter03/26-replace-class-variable-with-constants.rb -------------------------------------------------------------------------------- /Chapter03/27-replace-class-variables-with-class-instance-variables-iterative-superclass-lookup.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter03/27-replace-class-variables-with-class-instance-variables-iterative-superclass-lookup.rb -------------------------------------------------------------------------------- /Chapter03/28-replace-class-variables-with-class-instance-variables-recursive-superclass-lookup.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter03/28-replace-class-variables-with-class-instance-variables-recursive-superclass-lookup.rb -------------------------------------------------------------------------------- /Chapter03/29-replace-class-variables-with-class-instance-variables-copying.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter03/29-replace-class-variables-with-class-instance-variables-copying.rb -------------------------------------------------------------------------------- /Chapter03/30-global-variables.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter03/30-global-variables.rb -------------------------------------------------------------------------------- /Chapter03/31-global-variable-replacement-v1.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter03/31-global-variable-replacement-v1.rb -------------------------------------------------------------------------------- /Chapter03/32-global-variable-replacement-v2.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter03/32-global-variable-replacement-v2.rb -------------------------------------------------------------------------------- /Chapter03/chapter-03.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter03/chapter-03.rb -------------------------------------------------------------------------------- /Chapter04/00-class-methods.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter04/00-class-methods.rb -------------------------------------------------------------------------------- /Chapter04/01-screen-box-positional.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter04/01-screen-box-positional.rb -------------------------------------------------------------------------------- /Chapter04/02-screen-box-object.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter04/02-screen-box-object.rb -------------------------------------------------------------------------------- /Chapter04/03-screen-box-keyword.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter04/03-screen-box-keyword.rb -------------------------------------------------------------------------------- /Chapter04/04-screen-box-positional-keyword.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter04/04-screen-box-positional-keyword.rb -------------------------------------------------------------------------------- /Chapter04/05-positional-argument-types.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter04/05-positional-argument-types.rb -------------------------------------------------------------------------------- /Chapter04/06-rest-arguments.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter04/06-rest-arguments.rb -------------------------------------------------------------------------------- /Chapter04/07-keyword-arguments.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter04/07-keyword-arguments.rb -------------------------------------------------------------------------------- /Chapter04/08-block-arguments.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter04/08-block-arguments.rb -------------------------------------------------------------------------------- /Chapter04/09-listen-v1.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter04/09-listen-v1.rb -------------------------------------------------------------------------------- /Chapter04/10-listen-v2.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter04/10-listen-v2.rb -------------------------------------------------------------------------------- /Chapter04/11-listen-v3.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter04/11-listen-v3.rb -------------------------------------------------------------------------------- /Chapter04/12-listen-v4.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter04/12-listen-v4.rb -------------------------------------------------------------------------------- /Chapter04/13-method-visibility.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter04/13-method-visibility.rb -------------------------------------------------------------------------------- /Chapter04/14-constant-visibility.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter04/14-constant-visibility.rb -------------------------------------------------------------------------------- /Chapter04/15-deprecate-public.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter04/15-deprecate-public.rb -------------------------------------------------------------------------------- /Chapter04/16-delegating-to-another-method.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter04/16-delegating-to-another-method.rb -------------------------------------------------------------------------------- /Chapter04/17-delegating-to-another-object.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter04/17-delegating-to-another-object.rb -------------------------------------------------------------------------------- /Chapter04/18-forwardable.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter04/18-forwardable.rb -------------------------------------------------------------------------------- /Chapter04/chapter-04.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter04/chapter-04.rb -------------------------------------------------------------------------------- /Chapter05/00-database-update.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter05/00-database-update.rb -------------------------------------------------------------------------------- /Chapter05/01-authorizer-return-value.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter05/01-authorizer-return-value.rb -------------------------------------------------------------------------------- /Chapter05/02-authorizer-exception.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter05/02-authorizer-exception.rb -------------------------------------------------------------------------------- /Chapter05/03-authorizor-both.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter05/03-authorizor-both.rb -------------------------------------------------------------------------------- /Chapter05/04-exception-backtraces.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter05/04-exception-backtraces.rb -------------------------------------------------------------------------------- /Chapter05/05-broken-circuit.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter05/05-broken-circuit.rb -------------------------------------------------------------------------------- /Chapter05/06-add-error-class-as-needed.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter05/06-add-error-class-as-needed.rb -------------------------------------------------------------------------------- /Chapter05/chapter-05.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter05/chapter-05.rb -------------------------------------------------------------------------------- /Chapter06/00-xyz-point.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter06/00-xyz-point.rb -------------------------------------------------------------------------------- /Chapter06/01-csv.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter06/01-csv.rb -------------------------------------------------------------------------------- /Chapter06/chapter-06.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter06/chapter-06.rb -------------------------------------------------------------------------------- /Chapter07/00-complexity-tradeoffs-v1.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter07/00-complexity-tradeoffs-v1.rb -------------------------------------------------------------------------------- /Chapter07/01-complexity-tradeoffs-v2.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter07/01-complexity-tradeoffs-v2.rb -------------------------------------------------------------------------------- /Chapter07/02-complexity-tradeoffs-v3.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter07/02-complexity-tradeoffs-v3.rb -------------------------------------------------------------------------------- /Chapter07/03-complexity-tradeoffs-v4.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter07/03-complexity-tradeoffs-v4.rb -------------------------------------------------------------------------------- /Chapter07/04-complexity-tradeoffs-v5.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter07/04-complexity-tradeoffs-v5.rb -------------------------------------------------------------------------------- /Chapter07/05-complexity-tradeoffs-v6.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter07/05-complexity-tradeoffs-v6.rb -------------------------------------------------------------------------------- /Chapter07/chapter-07.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter07/chapter-07.rb -------------------------------------------------------------------------------- /Chapter08/00-regular-classes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter08/00-regular-classes.rb -------------------------------------------------------------------------------- /Chapter08/01-regular-classes-cursed-book-singleton-method.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter08/01-regular-classes-cursed-book-singleton-method.rb -------------------------------------------------------------------------------- /Chapter08/02-regular-classes-cursed-book-extend.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter08/02-regular-classes-cursed-book-extend.rb -------------------------------------------------------------------------------- /Chapter08/03-plugin-system-v1.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter08/03-plugin-system-v1.rb -------------------------------------------------------------------------------- /Chapter08/04-plugin-system-v2.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter08/04-plugin-system-v2.rb -------------------------------------------------------------------------------- /Chapter08/05-plugin-system-v3.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter08/05-plugin-system-v3.rb -------------------------------------------------------------------------------- /Chapter08/06-plugin-system-v4.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter08/06-plugin-system-v4.rb -------------------------------------------------------------------------------- /Chapter08/07-plugin-system-v5.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter08/07-plugin-system-v5.rb -------------------------------------------------------------------------------- /Chapter08/08-plugin-system-v6.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter08/08-plugin-system-v6.rb -------------------------------------------------------------------------------- /Chapter08/09-plugin-system-v7.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter08/09-plugin-system-v7.rb -------------------------------------------------------------------------------- /Chapter08/10-plugin-system-v8.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter08/10-plugin-system-v8.rb -------------------------------------------------------------------------------- /Chapter08/11-plugin-system-v9.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter08/11-plugin-system-v9.rb -------------------------------------------------------------------------------- /Chapter08/12-globally-frozen-locally-mutable.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter08/12-globally-frozen-locally-mutable.rb -------------------------------------------------------------------------------- /Chapter08/chapter-08.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter08/chapter-08.rb -------------------------------------------------------------------------------- /Chapter09/00-metastruct.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter09/00-metastruct.rb -------------------------------------------------------------------------------- /Chapter09/01-memomer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter09/01-memomer.rb -------------------------------------------------------------------------------- /Chapter09/02-foostruct-v1.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter09/02-foostruct-v1.rb -------------------------------------------------------------------------------- /Chapter09/03-foostruct-v2.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter09/03-foostruct-v2.rb -------------------------------------------------------------------------------- /Chapter09/04-hash-accessor.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter09/04-hash-accessor.rb -------------------------------------------------------------------------------- /Chapter09/05-rusty-block.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter09/05-rusty-block.rb -------------------------------------------------------------------------------- /Chapter09/06-rusty-eval.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter09/06-rusty-eval.rb -------------------------------------------------------------------------------- /Chapter09/07-guarded-eval.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter09/07-guarded-eval.rb -------------------------------------------------------------------------------- /Chapter09/08-words.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter09/08-words.rb -------------------------------------------------------------------------------- /Chapter09/09-struct-50-method-missing.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter09/09-struct-50-method-missing.rb -------------------------------------------------------------------------------- /Chapter09/chapter-09.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter09/chapter-09.rb -------------------------------------------------------------------------------- /Chapter10/00-rspec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter10/00-rspec.rb -------------------------------------------------------------------------------- /Chapter10/01-foo-process-bars.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter10/01-foo-process-bars.rb -------------------------------------------------------------------------------- /Chapter10/02-sequel.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter10/02-sequel.rb -------------------------------------------------------------------------------- /Chapter10/03-minitest.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter10/03-minitest.rb -------------------------------------------------------------------------------- /Chapter10/04-sinatra.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter10/04-sinatra.rb -------------------------------------------------------------------------------- /Chapter10/chapter-10.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter10/chapter-10.rb -------------------------------------------------------------------------------- /Chapter11/00-syntax-checking.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter11/00-syntax-checking.rb -------------------------------------------------------------------------------- /Chapter11/01-whichfaster-tad.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter11/01-whichfaster-tad.rb -------------------------------------------------------------------------------- /Chapter11/02-whichfaster-tdd.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter11/02-whichfaster-tdd.rb -------------------------------------------------------------------------------- /Chapter11/03-test-complexity.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter11/03-test-complexity.rb -------------------------------------------------------------------------------- /Chapter11/04-unit-testing.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter11/04-unit-testing.rb -------------------------------------------------------------------------------- /Chapter11/05-code-coverage.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter11/05-code-coverage.rb -------------------------------------------------------------------------------- /Chapter11/chapter-11.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter11/chapter-11.rb -------------------------------------------------------------------------------- /Chapter12/00-extract-method-v1.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter12/00-extract-method-v1.rb -------------------------------------------------------------------------------- /Chapter12/01-extract-method-v2.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter12/01-extract-method-v2.rb -------------------------------------------------------------------------------- /Chapter12/02-extract-method-v3.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter12/02-extract-method-v3.rb -------------------------------------------------------------------------------- /Chapter12/03-extract-method-v4.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter12/03-extract-method-v4.rb -------------------------------------------------------------------------------- /Chapter12/04-extract-method-v5.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter12/04-extract-method-v5.rb -------------------------------------------------------------------------------- /Chapter12/05-extract-class-v1.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter12/05-extract-class-v1.rb -------------------------------------------------------------------------------- /Chapter12/06-extract-class-v2.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter12/06-extract-class-v2.rb -------------------------------------------------------------------------------- /Chapter12/07-extract-class-v3.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter12/07-extract-class-v3.rb -------------------------------------------------------------------------------- /Chapter12/08-method-deprecation.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter12/08-method-deprecation.rb -------------------------------------------------------------------------------- /Chapter12/09-argument-change.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter12/09-argument-change.rb -------------------------------------------------------------------------------- /Chapter12/10-constant-deprecation.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter12/10-constant-deprecation.rb -------------------------------------------------------------------------------- /Chapter12/chapter-12.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter12/chapter-12.rb -------------------------------------------------------------------------------- /Chapter13/00-singleton-v1.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter13/00-singleton-v1.rb -------------------------------------------------------------------------------- /Chapter13/01-singleton-v2.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter13/01-singleton-v2.rb -------------------------------------------------------------------------------- /Chapter13/02-null-object-v1.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter13/02-null-object-v1.rb -------------------------------------------------------------------------------- /Chapter13/03-null-object-v2.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter13/03-null-object-v2.rb -------------------------------------------------------------------------------- /Chapter13/04-null-object-v3.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter13/04-null-object-v3.rb -------------------------------------------------------------------------------- /Chapter13/05-null-object-v4.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter13/05-null-object-v4.rb -------------------------------------------------------------------------------- /Chapter13/06-null-object-v5.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter13/06-null-object-v5.rb -------------------------------------------------------------------------------- /Chapter13/07-null-object-v6.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter13/07-null-object-v6.rb -------------------------------------------------------------------------------- /Chapter13/08-null-object-v7.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter13/08-null-object-v7.rb -------------------------------------------------------------------------------- /Chapter13/09-null-object-v8.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter13/09-null-object-v8.rb -------------------------------------------------------------------------------- /Chapter13/10-arbitrary-visitor.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter13/10-arbitrary-visitor.rb -------------------------------------------------------------------------------- /Chapter13/11-hashed-arbitrary-visitor-v1.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter13/11-hashed-arbitrary-visitor-v1.rb -------------------------------------------------------------------------------- /Chapter13/12-hashed-arbitrary-visitor-v2.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter13/12-hashed-arbitrary-visitor-v2.rb -------------------------------------------------------------------------------- /Chapter13/14-adapter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter13/14-adapter.rb -------------------------------------------------------------------------------- /Chapter13/15-strategy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter13/15-strategy.rb -------------------------------------------------------------------------------- /Chapter13/16-adapter-and-strategy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter13/16-adapter-and-strategy.rb -------------------------------------------------------------------------------- /Chapter13/chapter-13.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter13/chapter-13.rb -------------------------------------------------------------------------------- /Chapter14/00-multiply-prof-v1.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter14/00-multiply-prof-v1.rb -------------------------------------------------------------------------------- /Chapter14/01-multiply-prof-v2.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter14/01-multiply-prof-v2.rb -------------------------------------------------------------------------------- /Chapter14/02-multiply-prof-v3.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter14/02-multiply-prof-v3.rb -------------------------------------------------------------------------------- /Chapter14/03-multiply-prof-v4.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter14/03-multiply-prof-v4.rb -------------------------------------------------------------------------------- /Chapter14/04-multiply-prof-v5.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter14/04-multiply-prof-v5.rb -------------------------------------------------------------------------------- /Chapter14/chapter-14.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter14/chapter-14.rb -------------------------------------------------------------------------------- /Chapter15/chapter-15.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter15/chapter-15.rb -------------------------------------------------------------------------------- /Chapter16/00-nested-routes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter16/00-nested-routes.rb -------------------------------------------------------------------------------- /Chapter16/01-flat-routes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter16/01-flat-routes.rb -------------------------------------------------------------------------------- /Chapter16/chapter-16.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter16/chapter-16.rb -------------------------------------------------------------------------------- /Chapter17/00-input-validation-v1.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter17/00-input-validation-v1.rb -------------------------------------------------------------------------------- /Chapter17/01-input-validation-v2.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter17/01-input-validation-v2.rb -------------------------------------------------------------------------------- /Chapter17/02-input-validation-v3.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter17/02-input-validation-v3.rb -------------------------------------------------------------------------------- /Chapter17/03-input-validation-v4.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter17/03-input-validation-v4.rb -------------------------------------------------------------------------------- /Chapter17/04-input-validation-v5.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter17/04-input-validation-v5.rb -------------------------------------------------------------------------------- /Chapter17/05-access-control-rails-before-action.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter17/05-access-control-rails-before-action.rb -------------------------------------------------------------------------------- /Chapter17/06-access-control-rails-skip-before-action.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter17/06-access-control-rails-skip-before-action.rb -------------------------------------------------------------------------------- /Chapter17/07-access-control-sinatra.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter17/07-access-control-sinatra.rb -------------------------------------------------------------------------------- /Chapter17/08-access-control-roda.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter17/08-access-control-roda.rb -------------------------------------------------------------------------------- /Chapter17/chapter-17.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/Chapter17/chapter-17.rb -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Polished-Ruby-Programming/HEAD/README.md --------------------------------------------------------------------------------