Embedded storage at the speed of light.
Library crate for nils-common in the nils-cli workspace.
Library crate for nils-term in the nils-cli workspace.
CLI crate for nils-cli-template in the nils-cli workspace.
A library for interacting with the Openmw Configuration system.
Shell scripting that will knock your socks off
Analyzing the BODYSTRUCTURE data stream within the IMAP protocol, based on Nom.
A scriptable automation tool.
CLI crate for nils-api-test in the nils-cli workspace.
Library crate for nils-api-testing-core in the nils-cli workspace.
A library for parsing and creating zonefiles on the new internet.
Provider-neutral forge CLI (gh / glab wrapper) for the nils-cli workspace.
A brain**** macro language and interpreter
All undefined methods called on NilClass return nil
Nil values can be quite annoying. TransparentNil defines some methods for +nil+ so nil values behave like any other object.
Nil Conditional Operator in Ruby
Delegates methods to the object or returns nil.
Simple Null Object implementation
The plugin is really rather simple; here's the ignore_nil method: def ignore_nil(&block) begin yield rescue NoMethodError, RuntimeError => e if (e.message =~ /You have a nil object when you didn't expect it/) || (e.message =~ /undefined method `.*?' for nil:NilClass/) || (e.message =~ /^Called id for nil/) return nil else raise e end end end What's interesting about this is it catches both NoMethodError and RuntimeError, both of which can occur if a method unexpectedly returned nil and you called a method on it, but *ONLY* if the error message matches! This means legitimate NoMethodError and RuntimeError messages will not be bothered by ignore_nil, and will still raise in your application as you expect. I've used this in a production application since about mid/late 2008, I'd consider it very stable. Feedback welcome!
not_nil adds not_nil? to object. This allows you to use not_nil on everything that inherits from Object.
Extentions for convenient filtering of blank, empty, and nil values from Hash and Array instances.
Forgiving Nil lets you forget about nil exceptions conveniently and temporarily when required
Method chain to your heart's content
Allows the ruby nil to be used in math operators. Allows the amazing division of zero.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.