BetterDocs又名Ruby.Web基础 此回购是Web采用 。 它保留了描述现代原理,模式的示例。 内容 陷阱 元编程 功能编程 线程数 坚实的原则 设计模式 数据结构 演算法 成为Ruby Meister 面试问题 贡献 在未解决的问题或PR之前,请查看以获取有关如何进行的指南。 希望每个贡献者都遵守。 发展历程 对于安装程序开发环境,它要求: Ruby 2.5.1 NodeJS v10 在终端: git clone https://github.com/khusnetdinov/betterdocs cd betterdocs npm install bundle install jekyll serve 流浪汉的设置 Vagrant统一了针对不同OS用户的开发。 安装环境需要预安装: 在终端: git clone https://github.com/khusnetdinov/betterdocs/ cd betterdocs vagrant up 现在正在运行无业游民的虚拟机,然后输入: vagrant ssh Betterdocs位于来宾计算机上的/app
2021-02-02 16:37:45 1.35MB ruby algorithm metaprogramming thread
1
Dig under the surface and explore Ruby's most advanced feature: a collection of techniques and tricks known as metaprogramming. In this book, you'll learn metaprogramming as an essential component of Ruby and discover the deep, non-obvious details of the language. Once you understand the tenets of Ruby, including the object model, scopes, and singleton classes, you're on your way to applying metaprogramming both in your daily work assignments and in your fun, after-hours projects. This completely revised new edition covers the new features in Ruby 2.0 and 2.1, and contains code from the latest Ruby libraries, including Rails 4. Most examples are new, "from the wild," with more recent libraries. And the book reflects current ideas of when and how much metaprogramming you should use.
2019-12-21 21:32:05 14.68MB meta programming Ruby
1