Why spend time on coding problems that others have already solved when you could be making real progress on your Ruby project? This updated cookbook provides more than 350 recipes for solving common problems, on topics ranging from basic data structures, classes, and objects, to web development, distributed programming, and multithreading. Revised for Ruby 2.1, each recipe includes a discussion on why and how the solution works. Youall find recipes suitable for all skill levels, from Ruby newbies to experts who need an occasional reference. With Ruby Cookbook, youall not only save time, but keep your brain percolating with new ideas as well. Recipes cover: Data structures including strings, numbers, date and time, arrays, hashes, files and directories Using Rubyas code blocks, also known as closures OOP features such as classes, methods, objects, and modules XML and HTML, databases and persistence, and graphics and other formats Web development with Rails and Sinatra Internet services, web services, and distributed programming Software testing, debugging, packaging, and distributing Multitasking, multithreading, and extending Ruby with other languagesTryRuby, 33 aquot;Using the Ruby DBI Moduleaquot;, 547 WEBrick, 609 win32-process library, 916 win32-service library, 913, 916 ... Rails Cookbook, xxv, 615 osascript command-line interface, 889 overloading methods, 326-327 owned? predicate ( File), 232 ... in method calls, 30 parse method (Date), 126 parse method ( DateTime), 126 parse_stream method (Document), ... files) platform differences, xxv pluralization rules, Rails, 633-635 POI Java library, 492 POP3 server, reading email using, anbsp;...
|Author||:||Lucas Carlson, Leonard Richardson|
|Publisher||:||"O'Reilly Media, Inc." - 2015-03-24|