Comment on Getting to Know the Ruby Standard Library – Shellwords by Wojciech...
Just be careful – Shellwords.escape doesn’t care about multibyte chars. Sometime this can be an issue.
View ArticleComment on 3 Browser Based Editors to Watch by A Quick Look at CodeMirror 2 |...
[...] of Line Skip to content HomeAbout ← 3 Browser Based Editors to Watch March 5, 2011 · 1:10 pm ↓ Jump to [...]
View ArticleComment on 3 Browser Based Editors to Watch by Adam Sanderson
Hey Marijn, thanks for letting me know. I took a quick look at <a href='http://endofline.wordpress.com/2011/03/05/a-quick-look-at-codemirror-2/' rel="nofollow">CodeMirror 2</a>, it's...
View ArticleComment on 3 Browser Based Editors to Watch by I link della settimana |...
[...] IDE/Code Editors nel browser: ACE, Cloud9, Eclipse Orion, SourceKit, CodeMirror. [...]
View ArticleComment on 3 Browser Based Editors to Watch by Text Area Html Editor -...
[...] Originally Posted by b. Does anyone know how to use it in the wordpress post editor? Maybe someone at the Ace Google group could answer. Also, found this post reviewing Ace + 2 other editors: 3...
View ArticleComment on Easily Debug Ruby Loading Issues by Bill Burcham
Good one! I had to comment out the gem method override though because of this (starting up a Rails 2.3.11 server): Bill$ ruby -r ./require_inspector.rb ./script/server | tee > requirements.txt...
View ArticleComment on A Quick Look at CodeMirror 2 by A Quick Look at CodeMirror 2
[...] much faster, and I have to say I’m impressed. CodeMirror 2 is using virtual rendering to… [full post] Adam Sanderson End of Line uncategorized 0 0 0 0 0 [...]
View ArticleComment on Getting to Know the Ruby Standard Library – MiniTest::Mock by...
I wonder, why in line 02 of expects the method’s arguments are assigned to new local variables. Why is this done?
View ArticleComment on Customizing the Ruby TestRunner by dubek
Take a look at the turn gem, it might work for what you’re looking for: https://github.com/TwP/turn
View ArticleComment on The Strange Ruby Splat by Ruby’s Unary Operators and How to...
[...] a lot of magic to splatting but in short, * can be considered to be a unary operator that will 'explode' an array or an object [...]
View ArticleComment on The Strange Ruby Splat by TS
you should mention that passing an array to a method with * will pass it as a reference.. e.g.: a = [1,2,3] def plus1(a) a.each_index |i| a[i] += 1 end end plus1(a) => [2,3,4] plus1(a) => [3,4,5]
View ArticleComment on The Strange Ruby Splat by TS
the array can be modified by the method call, and the modified array will be available after method termination
View ArticleComment on The Strange Ruby Splat by Jarmo Pertman
It doesn’t. It will splat it, but since plus1 takes only one argument then the array will be passed as is. The code will work the same if you lose the * (and if you actually check your code, then you...
View ArticleComment on Introducing RubyDiff by dogs tylenol
Perhaps you should update the php server on your webhost, WordPress is kinda slow..`.*`
View ArticleComment on Introducing RubyDiff by get credit card machine
still replies on this post.. WOW.. must be a warzone
View ArticleComment on The Strange Ruby Splat by A Placeholder for Ruby Splat | HashCode
[...] I was reading the code language/splat_spec.rb at master from rubyspec/rubyspec – GitHub and also this post The Strange Ruby Splat. [...]
View ArticleComment on The Strange Ruby Splat by Shairon Toledo
There’s a similar behavior on Ruby that I named it (by myself) as ‘placeholder’ for this gotcha. Example: langs = ["java", "csharp", "ruby", "haskell" ] l1,(*),l3 = *langs #l1 = “java”, l2 = “ruby”...
View ArticleComment on Getting to Know the Ruby Standard Library – TSort by kongo
In 1.9.2 you can pass a default value when instantiating a Hash, this should keep the original sense: @jobs = Hash.new []
View ArticleComment on Fixing an ‘Ambiguous Head’ in Git by Nick
That’s all well and good, but how do you fix it?
View ArticleComment on Hash Tricks by Ruby, le langage Objet par excellence, un véritable...
[...] Post avec des astuces de contruction Hash (en) [...]
View Article