design-patterns-ruby:Ruby设计模式

时间:2021-05-09 04:53:23
【文件属性】:
文件名称:design-patterns-ruby:Ruby设计模式
文件大小:16KB
文件格式:ZIP
更新时间:2021-05-09 04:53:23
Ruby #Ruby设计模式 [工厂]( ) [观察者]( ) [代理]( ) [Singleton]( ) [策略]( ) [命令]( ) [装饰器]( )
【文件预览】:
design-patterns-ruby-master
----command()
--------shutdown_command.rb(103B)
--------main.rb(278B)
--------restart_command.rb(101B)
--------command.rb(79B)
--------composite_command.rb(242B)
----decorator()
--------sport_exhaust.rb(101B)
--------car.rb(40B)
--------audio_hi_fi.rb(98B)
--------decorator_main.rb(190B)
----factory()
--------animal.rb(121B)
--------mouse.rb(75B)
--------dog.rb(73B)
--------spec()
--------cat.rb(73B)
--------test()
--------animal_factory.rb(410B)
----proxy()
--------image.rb(71B)
--------real_image.rb(314B)
--------spec()
--------test()
--------proxy_image.rb(308B)
----README.md(668B)
----observer()
--------notification.rb(41B)
--------sms_notification.rb(215B)
--------spec()
--------test()
--------user.rb(597B)
--------email_notification.rb(219B)
----singleton()
--------spec()
--------test()
--------singleton_animal.rb(95B)
----.gitignore(5B)
----strategy()
--------operation_substract.rb(119B)
--------spec()
--------test()
--------strategy_context.rb(290B)
--------operation_add.rb(111B)
--------strategy.rb(77B)

网友评论