Project

yada_yada

0.0
No commit activity in last 3 years
No release in over 3 years
The Yada Yada operator (http://search.cpan.org/~jesse/perl-5.12.0/pod/perlop.pod#Yada_Yada_Operator) allows you to not bother implementing a method. Now with unicode support for method names, Ruby can support the same!
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies
 Project Readme

Adds support for Perl's Yada Yada Operator to Ruby 1.9.

Installation

gem install yada_yada

Usage

Whenever you've put a placeholder for a function in your source file, but it doesn't work yet, you can replace the body of the function by … (unicode U+2026 ELLIPSIS) and it will raise a NotImplementedError for you.

pry> def a; ; end
pry> a
NotImplementedError in a

If you are boring, and can't type unicode, then this is also aliased as yada_yada.

pry> def a; yada_yada; end
pry> a
NotImplementedError in a

License

Released under the MIT license for people who need to use it in production, and the WTFPL license for anyone else.