search for: sugary

Displaying 9 results from an estimated 9 matches for "sugary".

Did you mean: sugar
2007 Sep 20
4
alias :calling :lambda
...e. I''ve gotten into the habit of adding ''alias :calling :lambda'' to my spec suites. My examples then look like: calling { Foo }.should raise_error calling { Bar }.should_not raise_error Is there a reason that RSpec core has chosen not to make exception expectations more sugary?
2007 Jan 06
0
[836] trunk/wxsugar/lib/wx_sugar: Make :validator and :name sugary ctor args work for Controls classes
...h ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;} #patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;} #patch .lines, .info {color:#888;background:#fff;} --></style> <title>[836] trunk/wxsugar/lib/wx_sugar: Make :validator and :name sugary ctor args work for Controls classes</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>836</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2007-01-05 20:11:43 -0500 (Fr...
2009 Feb 18
2
Tables
Are there any standards emerging for how to represent tables in Markdown? Regards, - Daniel -------------------------------------------- Dr Daniel Winterstein Winterwell Associates Ltd tel: 0772 5172 612 http://www.winterwell.com Registered in Scotland, company no. SC342991
2007 Dec 27
5
ExampleGroup and SharedExampleGroup relationship(?)
I''m working on a series going over the source code for rspec, and I ran into something interesting with ExampleGroup and SharedExampleGroup. I was wondering if anyone could shed light on it. [NOTE: I''m working through the code for my own edification in learning Ruby. Ruby has some features that I think are incredibly cool, so I''m using a concrete implementation (RSpec)
2007 Apr 28
2
DO NOT REPLY [Bug 4573] New: Hide/protect filtering of xattrs by name
...y different purposes are likely to want to preserve some xattrs but not others. Thus, it would be nice to have a name-based hide/protect filtering system for xattrs just like the ones for files. Filters could be specified with an --xattr-filter option; I see no need to add corresponding syntactic-sugary --xattr-{in,ex}clude{,-from} options. For example, if src/ has been indexed by Beagle and I want to copy it to dest/, copying over all xattrs except the Beagle ones, I could run: rsync -aX --xattr-filter='H user.Beagle.*' src/ dest/ -- Configure bugmail: https://bugzilla.samba.org/user...
2006 Dec 01
0
TreeCtrl#traverse patch
...item | puts tree.get_item_text(item) } It can optionally accept the id of a branch to start at # embolden all items at branch and below: tree.traverse(branch) { | item | puts tree.set_item_bold(item) } Wanted to check if anyone sees any probs or thinks this is a bad idea. It''s kind of sugary, but would be a lot slower and messier in Ruby, plus we already had the recursive C++ code written to do the GC marking. One use case is finding the item whose item data is a particular ruby object, eg when that object has been updated elsewhere. alex -------------- next part -------------- A...
2007 Apr 04
11
ANN: RSpec 0.9.0 beta-1 available for download.
We''d like to get some feedback on RSpec 0.9 before we start pushing out releases via Rubyforge''s gem server and update the website. We have therefore made the first beta of 0.9 available - both prepackaged and tagged in subversion (see below). RSpec 0.9 introduces a new API for expectations, which essentially means that your underscores go away (there has been other discussions
2006 Sep 11
15
ruby method names
Hi Attached is a patch that adds aliases to the API for methods that look like attribute accessors. So a_frame.set_title(''The title'') # currently a_frame.title = ''The title'' # now an alternative textctrl.get_value # currently textctrl.value # now an alternative Also, C++ methods named ''IsXXX'' are now exposed in ruby with
2011 Sep 28
6
I can't seem to create mountpoint and change permissions after mounting in 2.7.3
Hi, I''m using puppet 2.7.3 on RHEL/CentOS and I have an issue which is now a big blocking issue within my environment. What I''m trying to accomplish wit puppet is a create a mountpoint, mount a filesystem on it and install an application on that filesystems are set proper user/ group and permissions on it, but it fails big time. The issues I currently run into are about 3