├── .gitignore ├── LICENSE ├── README.md ├── adapter ├── active_job │ ├── README.md │ ├── base.rb │ ├── enqueuing.rb │ ├── execution.rb │ ├── queue_adapter.rb │ ├── queue_adapters.rb │ └── queue_adapters │ │ ├── asyc_adapter.rb │ │ ├── inline_adapter.rb │ │ ├── resque_adapter.rb │ │ ├── sidekiq_adapter.rb │ │ └── test_adapter.rb └── basic │ ├── encrypter.rb │ ├── main.rb │ ├── message.encrypted │ ├── message.txt │ ├── nearmiss │ ├── british_text_object.rb │ ├── british_text_object_adapter.rb │ ├── main.rb │ ├── renderer.rb │ └── text_object.rb │ ├── out.txt │ └── string_io_adapter.rb ├── commands ├── command.rb ├── composite_command.rb ├── copy_file.rb ├── create_file.rb ├── delete_file.rb └── main.rb ├── composite ├── add_dry_ingredients_task.rb ├── add_liquids_task.rb ├── composite_task.rb ├── main.rb ├── make_batter_task.rb ├── make_cake_task.rb ├── mix_task.rb └── task.rb ├── convention_over_configuration └── gateway │ └── lib │ ├── adapter │ ├── file_adapter.rb │ ├── ftp.rb │ ├── http_adapter.rb │ └── smtp_adapter.rb │ ├── adapter_scaffold.rb │ ├── message.rb │ ├── message_gateway.rb │ └── russolsen_dot_com_authorizer.rb ├── decorator ├── check_summing_writer.rb ├── enhance_writer.rb ├── final.txt ├── main.rb ├── numbering_writer.rb ├── out.txt ├── rapping.txt ├── simple_writer.rb ├── time_stamping_writer.rb └── writer_decorator.rb ├── dsl ├── backup.pr ├── backup.rb ├── data_source.rb ├── expression.rb ├── finder.rb └── packrat.rb ├── factory ├── algae.rb ├── duck.rb ├── frog.rb ├── habitat.rb ├── jungle_organism_factory.rb ├── main.rb ├── pond_organism_factory.rb ├── tiger.rb ├── tree.rb └── water_lily.rb ├── interpreter ├── all.rb ├── and.rb ├── bigger.rb ├── expression.rb ├── file_name.rb ├── main.rb ├── main_ast.rb ├── not.rb ├── or.rb ├── parser.rb ├── test_dir │ ├── chapter1.doc │ ├── chapter2.doc │ └── music.mp3 └── writable.rb ├── iterator ├── account.rb ├── array_iterator.rb ├── main.rb └── portfolio.rb ├── observer ├── employee.rb ├── main.rb ├── payroll.rb └── tax_man.rb ├── proxy ├── account_protection_proxy.rb ├── account_proxy.rb ├── bank_account.rb ├── bank_account_proxy.rb ├── main.rb ├── main_remote_proxy.rb └── virtual_account_proxy.rb ├── singleton ├── log.txt ├── main.rb └── simple_logger.rb ├── strategy ├── html_formatter.rb ├── main.rb ├── plain_text_formatter.rb └── report.rb └── template_method ├── html_report.rb ├── main.rb ├── plain_text_report.rb └── report.rb /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/README.md -------------------------------------------------------------------------------- /adapter/active_job/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/adapter/active_job/README.md -------------------------------------------------------------------------------- /adapter/active_job/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/adapter/active_job/base.rb -------------------------------------------------------------------------------- /adapter/active_job/enqueuing.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/adapter/active_job/enqueuing.rb -------------------------------------------------------------------------------- /adapter/active_job/execution.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/adapter/active_job/execution.rb -------------------------------------------------------------------------------- /adapter/active_job/queue_adapter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/adapter/active_job/queue_adapter.rb -------------------------------------------------------------------------------- /adapter/active_job/queue_adapters.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/adapter/active_job/queue_adapters.rb -------------------------------------------------------------------------------- /adapter/active_job/queue_adapters/asyc_adapter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/adapter/active_job/queue_adapters/asyc_adapter.rb -------------------------------------------------------------------------------- /adapter/active_job/queue_adapters/inline_adapter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/adapter/active_job/queue_adapters/inline_adapter.rb -------------------------------------------------------------------------------- /adapter/active_job/queue_adapters/resque_adapter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/adapter/active_job/queue_adapters/resque_adapter.rb -------------------------------------------------------------------------------- /adapter/active_job/queue_adapters/sidekiq_adapter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/adapter/active_job/queue_adapters/sidekiq_adapter.rb -------------------------------------------------------------------------------- /adapter/active_job/queue_adapters/test_adapter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/adapter/active_job/queue_adapters/test_adapter.rb -------------------------------------------------------------------------------- /adapter/basic/encrypter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/adapter/basic/encrypter.rb -------------------------------------------------------------------------------- /adapter/basic/main.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/adapter/basic/main.rb -------------------------------------------------------------------------------- /adapter/basic/message.encrypted: -------------------------------------------------------------------------------- 1 | CiI -------------------------------------------------------------------------------- /adapter/basic/message.txt: -------------------------------------------------------------------------------- 1 | abcde 2 | fjhij -------------------------------------------------------------------------------- /adapter/basic/nearmiss/british_text_object.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/adapter/basic/nearmiss/british_text_object.rb -------------------------------------------------------------------------------- /adapter/basic/nearmiss/british_text_object_adapter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/adapter/basic/nearmiss/british_text_object_adapter.rb -------------------------------------------------------------------------------- /adapter/basic/nearmiss/main.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/adapter/basic/nearmiss/main.rb -------------------------------------------------------------------------------- /adapter/basic/nearmiss/renderer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/adapter/basic/nearmiss/renderer.rb -------------------------------------------------------------------------------- /adapter/basic/nearmiss/text_object.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/adapter/basic/nearmiss/text_object.rb -------------------------------------------------------------------------------- /adapter/basic/out.txt: -------------------------------------------------------------------------------- 1 | 8/7 -------------------------------------------------------------------------------- /adapter/basic/string_io_adapter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/adapter/basic/string_io_adapter.rb -------------------------------------------------------------------------------- /commands/command.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/commands/command.rb -------------------------------------------------------------------------------- /commands/composite_command.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/commands/composite_command.rb -------------------------------------------------------------------------------- /commands/copy_file.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/commands/copy_file.rb -------------------------------------------------------------------------------- /commands/create_file.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/commands/create_file.rb -------------------------------------------------------------------------------- /commands/delete_file.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/commands/delete_file.rb -------------------------------------------------------------------------------- /commands/main.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/commands/main.rb -------------------------------------------------------------------------------- /composite/add_dry_ingredients_task.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/composite/add_dry_ingredients_task.rb -------------------------------------------------------------------------------- /composite/add_liquids_task.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/composite/add_liquids_task.rb -------------------------------------------------------------------------------- /composite/composite_task.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/composite/composite_task.rb -------------------------------------------------------------------------------- /composite/main.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/composite/main.rb -------------------------------------------------------------------------------- /composite/make_batter_task.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/composite/make_batter_task.rb -------------------------------------------------------------------------------- /composite/make_cake_task.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/composite/make_cake_task.rb -------------------------------------------------------------------------------- /composite/mix_task.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/composite/mix_task.rb -------------------------------------------------------------------------------- /composite/task.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/composite/task.rb -------------------------------------------------------------------------------- /convention_over_configuration/gateway/lib/adapter/file_adapter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/convention_over_configuration/gateway/lib/adapter/file_adapter.rb -------------------------------------------------------------------------------- /convention_over_configuration/gateway/lib/adapter/ftp.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/convention_over_configuration/gateway/lib/adapter/ftp.rb -------------------------------------------------------------------------------- /convention_over_configuration/gateway/lib/adapter/http_adapter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/convention_over_configuration/gateway/lib/adapter/http_adapter.rb -------------------------------------------------------------------------------- /convention_over_configuration/gateway/lib/adapter/smtp_adapter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/convention_over_configuration/gateway/lib/adapter/smtp_adapter.rb -------------------------------------------------------------------------------- /convention_over_configuration/gateway/lib/adapter_scaffold.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/convention_over_configuration/gateway/lib/adapter_scaffold.rb -------------------------------------------------------------------------------- /convention_over_configuration/gateway/lib/message.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/convention_over_configuration/gateway/lib/message.rb -------------------------------------------------------------------------------- /convention_over_configuration/gateway/lib/message_gateway.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/convention_over_configuration/gateway/lib/message_gateway.rb -------------------------------------------------------------------------------- /convention_over_configuration/gateway/lib/russolsen_dot_com_authorizer.rb : -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/convention_over_configuration/gateway/lib/russolsen_dot_com_authorizer.rb -------------------------------------------------------------------------------- /decorator/check_summing_writer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/decorator/check_summing_writer.rb -------------------------------------------------------------------------------- /decorator/enhance_writer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/decorator/enhance_writer.rb -------------------------------------------------------------------------------- /decorator/final.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/decorator/final.txt -------------------------------------------------------------------------------- /decorator/main.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/decorator/main.rb -------------------------------------------------------------------------------- /decorator/numbering_writer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/decorator/numbering_writer.rb -------------------------------------------------------------------------------- /decorator/out.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/decorator/out.txt -------------------------------------------------------------------------------- /decorator/rapping.txt: -------------------------------------------------------------------------------- 1 | 2015-02-01 18:07:14 +0900: タイムスタンプ付き 2 | -------------------------------------------------------------------------------- /decorator/simple_writer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/decorator/simple_writer.rb -------------------------------------------------------------------------------- /decorator/time_stamping_writer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/decorator/time_stamping_writer.rb -------------------------------------------------------------------------------- /decorator/writer_decorator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/decorator/writer_decorator.rb -------------------------------------------------------------------------------- /dsl/backup.pr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/dsl/backup.pr -------------------------------------------------------------------------------- /dsl/backup.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/dsl/backup.rb -------------------------------------------------------------------------------- /dsl/data_source.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/dsl/data_source.rb -------------------------------------------------------------------------------- /dsl/expression.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/dsl/expression.rb -------------------------------------------------------------------------------- /dsl/finder.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/dsl/finder.rb -------------------------------------------------------------------------------- /dsl/packrat.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/dsl/packrat.rb -------------------------------------------------------------------------------- /factory/algae.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/factory/algae.rb -------------------------------------------------------------------------------- /factory/duck.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/factory/duck.rb -------------------------------------------------------------------------------- /factory/frog.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/factory/frog.rb -------------------------------------------------------------------------------- /factory/habitat.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/factory/habitat.rb -------------------------------------------------------------------------------- /factory/jungle_organism_factory.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/factory/jungle_organism_factory.rb -------------------------------------------------------------------------------- /factory/main.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/factory/main.rb -------------------------------------------------------------------------------- /factory/pond_organism_factory.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/factory/pond_organism_factory.rb -------------------------------------------------------------------------------- /factory/tiger.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/factory/tiger.rb -------------------------------------------------------------------------------- /factory/tree.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/factory/tree.rb -------------------------------------------------------------------------------- /factory/water_lily.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/factory/water_lily.rb -------------------------------------------------------------------------------- /interpreter/all.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/interpreter/all.rb -------------------------------------------------------------------------------- /interpreter/and.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/interpreter/and.rb -------------------------------------------------------------------------------- /interpreter/bigger.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/interpreter/bigger.rb -------------------------------------------------------------------------------- /interpreter/expression.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/interpreter/expression.rb -------------------------------------------------------------------------------- /interpreter/file_name.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/interpreter/file_name.rb -------------------------------------------------------------------------------- /interpreter/main.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/interpreter/main.rb -------------------------------------------------------------------------------- /interpreter/main_ast.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/interpreter/main_ast.rb -------------------------------------------------------------------------------- /interpreter/not.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/interpreter/not.rb -------------------------------------------------------------------------------- /interpreter/or.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/interpreter/or.rb -------------------------------------------------------------------------------- /interpreter/parser.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/interpreter/parser.rb -------------------------------------------------------------------------------- /interpreter/test_dir/chapter1.doc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /interpreter/test_dir/chapter2.doc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /interpreter/test_dir/music.mp3: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /interpreter/writable.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/interpreter/writable.rb -------------------------------------------------------------------------------- /iterator/account.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/iterator/account.rb -------------------------------------------------------------------------------- /iterator/array_iterator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/iterator/array_iterator.rb -------------------------------------------------------------------------------- /iterator/main.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/iterator/main.rb -------------------------------------------------------------------------------- /iterator/portfolio.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/iterator/portfolio.rb -------------------------------------------------------------------------------- /observer/employee.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/observer/employee.rb -------------------------------------------------------------------------------- /observer/main.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/observer/main.rb -------------------------------------------------------------------------------- /observer/payroll.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/observer/payroll.rb -------------------------------------------------------------------------------- /observer/tax_man.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/observer/tax_man.rb -------------------------------------------------------------------------------- /proxy/account_protection_proxy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/proxy/account_protection_proxy.rb -------------------------------------------------------------------------------- /proxy/account_proxy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/proxy/account_proxy.rb -------------------------------------------------------------------------------- /proxy/bank_account.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/proxy/bank_account.rb -------------------------------------------------------------------------------- /proxy/bank_account_proxy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/proxy/bank_account_proxy.rb -------------------------------------------------------------------------------- /proxy/main.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/proxy/main.rb -------------------------------------------------------------------------------- /proxy/main_remote_proxy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/proxy/main_remote_proxy.rb -------------------------------------------------------------------------------- /proxy/virtual_account_proxy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/proxy/virtual_account_proxy.rb -------------------------------------------------------------------------------- /singleton/log.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/singleton/log.txt -------------------------------------------------------------------------------- /singleton/main.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/singleton/main.rb -------------------------------------------------------------------------------- /singleton/simple_logger.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/singleton/simple_logger.rb -------------------------------------------------------------------------------- /strategy/html_formatter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/strategy/html_formatter.rb -------------------------------------------------------------------------------- /strategy/main.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/strategy/main.rb -------------------------------------------------------------------------------- /strategy/plain_text_formatter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/strategy/plain_text_formatter.rb -------------------------------------------------------------------------------- /strategy/report.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/strategy/report.rb -------------------------------------------------------------------------------- /template_method/html_report.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/template_method/html_report.rb -------------------------------------------------------------------------------- /template_method/main.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/template_method/main.rb -------------------------------------------------------------------------------- /template_method/plain_text_report.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/template_method/plain_text_report.rb -------------------------------------------------------------------------------- /template_method/report.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nipe0324/design_patterns_ruby/HEAD/template_method/report.rb --------------------------------------------------------------------------------