<imperator>
but also converting the rest of the win32utils stuff over to ffi
jonahR has joined #ruby-lang
<imperator>
you?
<bnagy>
slowly fixing internal stuff
<bnagy>
trying to take a bunch of hacky crap and turn it into actual software
<bnagy>
win32 stuff is all on github? I need to take a look, get more ffi tips :P
<imperator>
that can be fun; at least i like doing stuff like that
<imperator>
yep, all on github, typically in "ffI" branch
tkuchiki has quit [Remote host closed the connection]
<imperator>
er ffi
tkuchiki has joined #ruby-lang
<bnagy>
yeah the bad part is documentation, for me :(
<bnagy>
like, stuff for people that can't read code or rdoc
<bnagy>
PITA
<imperator>
eh, you can generate the code from rdoc, can't you?
<imperator>
er, docs
<imperator>
i suppose not high level instructions, though
<bnagy>
yeah, wiki style walkthrough stuff
<bnagy>
which also means the code itself has to be several notches more robust than I'm comfortable with
tkuchiki has quit [Ping timeout: 240 seconds]
<gnufied>
what are you building bnagy?
<gnufied>
all this secret ffi stuff piques my curiosity
tkuchiki has joined #ruby-lang
<bnagy>
I write systems for concurrent fuzzing
<bnagy>
usually I only need FFI at the pointy end
<gnufied>
"The first Punic War"
<gnufied>
amazing stuff
tenderlove has joined #ruby-lang
<gnufied>
A friend of mine keeps trying to get me into War gaming
<gnufied>
err wargaming
<imperator>
gnufied, thanks
<imperator>
plenty of introductory wargames, if you're interested
<imperator>
so you don't have to go straight to the monsters
<imperator>
my game there is very much a "light" wargame, pretty euro-y in some ways
tenderlove has quit [Ping timeout: 264 seconds]
mdedetrich has joined #ruby-lang
dhruvasagar has joined #ruby-lang
<imperator>
gnufied, you play euros?
geopet has quit [Quit: geopet]
s1kx has quit [Quit: s1kx]
<imperator>
guess he went to bed ;)
zmike123 has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
krz has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 264 seconds]
bradsmith has quit [Remote host closed the connection]
bradsmith has joined #ruby-lang
bradsmith has quit [Remote host closed the connection]
D9 has joined #ruby-lang
tenderlove has joined #ruby-lang
tenderlove has quit [Ping timeout: 256 seconds]
bradsmith has joined #ruby-lang
mistym has quit [Remote host closed the connection]
dc5ala has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
rails_smith has quit [Ping timeout: 245 seconds]
injekt has quit [Ping timeout: 264 seconds]
andrewvos has quit [Ping timeout: 264 seconds]
Senjai has quit [Ping timeout: 240 seconds]
rickruby has joined #ruby-lang
jonahR has quit [Quit: jonahR]
zmike123 has quit [Quit: ~]
rails_smith has joined #ruby-lang
spinagon has joined #ruby-lang
rippa has quit [Ping timeout: 248 seconds]
andrewvos has joined #ruby-lang
injekt has joined #ruby-lang
spinagon has quit [Ping timeout: 248 seconds]
<rue>
€
D9 has quit [Ping timeout: 256 seconds]
tbuehlmann has joined #ruby-lang
mistym has joined #ruby-lang
KM has joined #ruby-lang
Guest82295 has quit [Read error: Connection reset by peer]
KM is now known as Guest72114
wallerdev has quit [Quit: wallerdev]
rheddry has quit [Excess Flood]
levifig has joined #ruby-lang
marr has joined #ruby-lang
io_syl has quit [Quit: io_syl]
hackndoes has joined #ruby-lang
<hackndoes>
Hi, guys I am new to ruby and have some trouble understanding a specific syntax
<hackndoes>
it can be seen when using OptionParser, you do OptionParser.new do... new I know OptionParser.new creates a new instance and calls the initalize method, what does it mean to call do right after?
<bnagy>
it's a block
tenderlove has joined #ruby-lang
<bnagy>
so basically you're creating an instance, the argument to new is a block of code ( which does the option handling )
skade has joined #ruby-lang
m6n has joined #ruby-lang
tenderlove has quit [Ping timeout: 264 seconds]
eoinkelly_ is now known as eoinkelly
x0f has quit [Ping timeout: 256 seconds]
x0f has joined #ruby-lang
henrikhodne has quit [Read error: Operation timed out]
<hackndoes>
bnagy: sorry for late reply, was called on something at work
<hackndoes>
thanks for help. so it's like an anonymous method
<hackndoes>
new will execute that block of code for me?
Mon_Ouie has joined #ruby-lang
<bnagy>
I guess, that's how Trollop works, I don't use OptionParser
<hackndoes>
hmmmmmm why? is there a better way?
<hackndoes>
is it standard to pass block of code to constractor?
<hackndoes>
does it work always and everywhere?
<bnagy>
not really, but it's appropriate for some stuff
<bnagy>
definitely does not work always
<hackndoes>
OK so the target class needs to be designed and coded to support it.
<bnagy>
yep
<hackndoes>
is there a better option you would suggest for options parsing? cli?
<bnagy>
I like Trollop
<bnagy>
there's another popular one, too, but I forget
<hackndoes>
is Trollop a gem?
<bnagy>
yes
<hackndoes>
thanks I will take a look at that too....
<hackndoes>
you the mann :)
r0bgleeson has quit [Ping timeout: 276 seconds]
tenderlove has joined #ruby-lang
Mon_Ouie has quit [Quit: WeeChat 0.4.1]
hangingclowns has joined #ruby-lang
<hangingclowns>
hey guys, anyone know of a way to replace a captured group?
<hangingclowns>
i tried using sub (i only want to replace this once), but am having some issues
<hangingclowns>
it completely rewrites the text and leaves off the end.
Mon_Ouie has joined #ruby-lang
glebm has joined #ruby-lang
skmp has joined #ruby-lang
tenderlove has quit [Ping timeout: 264 seconds]
<canton7>
>> a = "hello world"; a[/wo(rld)/, 1] = 'mble; puts a
<eval-in>
canton7 => /tmp/execpad-aa06278919a5/source-aa06278919a5:2: unterminated string meets end of file ... (https://eval.in/39356)
<canton7>
>> a = "hello world"; a[/wo(rld)/, 1] = 'mble'; puts a
<hangingclowns>
so why have to use double backslash? cause of encoding?
<heftig>
hangingclowns: no, because of how backslashes are treated in "-literals
<hangingclowns>
oh, of course
<heftig>
e.g. \n becomes a line feed
<heftig>
\\ is a literal backslash
<hangingclowns>
yes, of course
<hangingclowns>
i didn't think about that
<heftig>
then the regexp engine also uses backslashes as special characters, \1 becomes a capture reference and \\ is again reduced to a literal backslash
Azpo has joined #ruby-lang
<heftig>
so when using a "-literal as a replacement, you actually need four backslashes (\\\\) to make a single backslash
<heftig>
just so chinese_pick isn't interpreted again
<Azpo>
Hi there. Call me crazy but I would like to know if it's possible to redefine a keyword in Ruby. I'm just having fun with obfuscation, nothing to wierd don't worry :)
<heftig>
Azpo: no
<hangingclowns>
hmm, seems it did end up being picked up, again
mistym has quit [Remote host closed the connection]
workmad3 has joined #ruby-lang
relix has joined #ruby-lang
skade has quit [Read error: Operation timed out]
Squarepy_ has joined #ruby-lang
skade has joined #ruby-lang
glebm_ has joined #ruby-lang
glebm has quit [Ping timeout: 256 seconds]
workmad3 has quit [Ping timeout: 264 seconds]
skade has quit [Ping timeout: 256 seconds]
Squarepy has quit [Quit: Leaving]
skade has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sascha_d has quit [Quit: obai]
glebm_ has quit [Ping timeout: 276 seconds]
tenderlove has joined #ruby-lang
nivanson has quit [Remote host closed the connection]
nivanson has joined #ruby-lang
skade has quit [Ping timeout: 248 seconds]
skade has joined #ruby-lang
mbj has joined #ruby-lang
glebm has joined #ruby-lang
tenderlove has quit [Ping timeout: 240 seconds]
hinbody has joined #ruby-lang
skade has quit [Ping timeout: 256 seconds]
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
mihar has quit [Ping timeout: 240 seconds]
Voker57 has quit [Ping timeout: 246 seconds]
mihar has joined #ruby-lang
realDAB has joined #ruby-lang
diegoviola has joined #ruby-lang
Voker57 has joined #ruby-lang
relix has joined #ruby-lang
hangingclowns has left #ruby-lang [#ruby-lang]
tenderlove has joined #ruby-lang
rob___ has joined #ruby-lang
rob___ has left #ruby-lang [#ruby-lang]
Squarepy_ has quit [Quit: Leaving]
rob_ has joined #ruby-lang
<rob_>
hi
<rob_>
im trying to extend a ruby class but the class im looking at has 'class << self' in it and i dont quite understand what that means, here's a snippet: http://hastebin.com/raw/merijuqiga
<toretore>
how are you trying to extend it?
<rob_>
when i try and access methods in the Waveform class i get no method errors if i do something like this: http://hastebin.com/raw/rajehenuyu
<toretore>
class << self opens up the class' eigenclass, in which "class" methods are defined
tenderlove has quit [Ping timeout: 264 seconds]
* rob_
looks that up
<realDAB>
rob_: in general, class << any_object (including but not limited to a class object) opens up that object's singleton class, where per-object methods are defined for that object's sole use
<erikh>
rob_: suuuup
<erikh>
rob_: just to be clear before you get all confused, you
<erikh>
you'll hear "singleton class" "metaclass" and "eigenclass" used interchangeably
<erikh>
they almost always mean the same thing
<rob_>
ahh thanks dudes
<rob_>
erikh: :D
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<injekt>
:D
sush24 has joined #ruby-lang
ledestin has joined #ruby-lang
firstdayonthejob has quit [Ping timeout: 264 seconds]
anjen has joined #ruby-lang
realDAB has quit [Quit: realDAB]
hinbody has quit [Ping timeout: 256 seconds]
jxie has quit [Quit: leaving]
MaddinXx_ has joined #ruby-lang
skade has joined #ruby-lang
anjen has quit [Quit: anjen]
sush24 has quit [Read error: Connection reset by peer]
skade has quit [Ping timeout: 246 seconds]
firstdayonthejob has joined #ruby-lang
vlad_starkov has joined #ruby-lang
diegoviola has quit [Ping timeout: 240 seconds]
mbj has quit [Ping timeout: 246 seconds]
apeiros has quit [Read error: Connection reset by peer]
apeiros_ has joined #ruby-lang
anjen has joined #ruby-lang
rippa has joined #ruby-lang
relix has joined #ruby-lang
skade has joined #ruby-lang
sush24 has joined #ruby-lang
tenderlove has joined #ruby-lang
tenderlove has quit [Ping timeout: 264 seconds]
Guest79934 has joined #ruby-lang
Guest79934 is now known as diegoviola
maxmanders has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
stardiviner has joined #ruby-lang
Smoochict has quit [Quit: Quit]
Smoochict has joined #ruby-lang
Smoochict is now known as Guest76388
Guest76388 has left #ruby-lang [#ruby-lang]
Smoochict has joined #ruby-lang
<Smoochict>
test
kstuart has joined #ruby-lang
skade has quit [Ping timeout: 256 seconds]
mbj has joined #ruby-lang
Smoochict is now known as DanielRb
skade has joined #ruby-lang
kstuart has quit [Quit: kstuart]
skade has quit [Client Quit]
DanielRb is now known as danielrb
kstuart has joined #ruby-lang
skade has joined #ruby-lang
postmodern has quit [Quit: Leaving]
mdedetrich has joined #ruby-lang
<imperator>
test failure, implosion imminent
rippa has quit [Ping timeout: 248 seconds]
danielrb has left #ruby-lang [#ruby-lang]
ledestin has quit [Quit: ledestin]
skade has quit [Ping timeout: 264 seconds]
sascha_d has joined #ruby-lang
hashkey_ has joined #ruby-lang
hashkey has quit [Ping timeout: 264 seconds]
realDAB has joined #ruby-lang
publicvoid has joined #ruby-lang
rob_ has left #ruby-lang [#ruby-lang]
hinbody has joined #ruby-lang
Guest75556 has joined #ruby-lang
diegoviola has quit [Ping timeout: 246 seconds]
Guest75556 is now known as diegoviola
hashkey_ is now known as hashkey
joshuawscott has joined #ruby-lang
realDAB has quit [Quit: realDAB]
marr has quit [Ping timeout: 264 seconds]
anjen has quit [Quit: anjen]
stardiviner has quit [Read error: Connection reset by peer]
stardiviner_ has joined #ruby-lang
joshuawscott has quit [Quit: Leaving.]
workmad3 has joined #ruby-lang
realDAB has joined #ruby-lang
realDAB has quit [Client Quit]
realDAB has joined #ruby-lang
sepp2k has joined #ruby-lang
davetoxa has joined #ruby-lang
imperator has quit [Quit: Leaving]
realDAB has quit [Quit: realDAB]
GeissT has quit [Quit: MillBroChat AdIRC User]
r0bgleeson has quit [Ping timeout: 256 seconds]
tenderlove has joined #ruby-lang
<davetoxa>
Hello! Can anybody help me, with writing 1 test
vlad_starkov has quit [Remote host closed the connection]
Kabaka has quit [Remote host closed the connection]
zmike has joined #ruby-lang
Kabaka has joined #ruby-lang
<andrewvos>
davetoxa: You deleted the code?
yfeldblum has quit [Ping timeout: 256 seconds]
<davetoxa>
andrewvos, yes, I solved the problem
realDAB has joined #ruby-lang
<davetoxa>
thanks, for participating
realDAB has quit [Client Quit]
apeiros_ is now known as apeiros
realDAB has joined #ruby-lang
vlad_starkov has joined #ruby-lang
x0f has quit [Ping timeout: 248 seconds]
x0f has joined #ruby-lang
realDAB has quit [Client Quit]
wallerdev has joined #ruby-lang
MaddinXx_ has joined #ruby-lang
_jpb_ has joined #ruby-lang
LauraE has joined #ruby-lang
mosca_ has joined #ruby-lang
workmad3 has quit [Ping timeout: 264 seconds]
realDAB has joined #ruby-lang
realDAB has quit [Client Quit]
tomzx_mac has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
diegoviola has quit [Ping timeout: 256 seconds]
jxie has joined #ruby-lang
jsaak has quit [Read error: Operation timed out]
tenderlove has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
realDAB has joined #ruby-lang
geopet has quit [Quit: geopet]
symm- has joined #ruby-lang
rippa has joined #ruby-lang
realDAB has quit [Quit: realDAB]
setmeaway2 has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby-lang
kristofferrr has joined #ruby-lang
kristofferrr is now known as sreffotsirk
sergiocampama has quit [Remote host closed the connection]
_jpb_ has quit [Ping timeout: 264 seconds]
tbuehlmann has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 246 seconds]
jacktrick has joined #ruby-lang
sergiocampama has joined #ruby-lang
sergiocampama has quit [Remote host closed the connection]
lsegal has joined #ruby-lang
sergiocampama has joined #ruby-lang
mosca_ has quit [Ping timeout: 264 seconds]
shinnya has quit [Ping timeout: 264 seconds]
_jpb_ has joined #ruby-lang
sepp2k has quit [Quit: Leaving.]
sush24 has quit [Quit: This computer has gone to sleep]
sush24 has joined #ruby-lang
sush24 has quit [Remote host closed the connection]
bradsmith has quit [Remote host closed the connection]
LauraE has left #ruby-lang [#ruby-lang]
Senjai has joined #ruby-lang
Senjai has joined #ruby-lang
Senjai has quit [Changing host]
skmp has quit [Quit: Leaving.]
zmike has quit [Ping timeout: 264 seconds]
skmp has joined #ruby-lang
sdegutis has joined #ruby-lang
LauraE has joined #ruby-lang
sdegutis has quit [Remote host closed the connection]
zmike has joined #ruby-lang
mbj has quit [Ping timeout: 246 seconds]
kirin` has quit [Ping timeout: 276 seconds]
skmp has quit [Quit: Leaving.]
itcharlie has joined #ruby-lang
kirin` has joined #ruby-lang
mbj has joined #ruby-lang
realDAB has joined #ruby-lang
jxie has quit [Ping timeout: 264 seconds]
jxie has joined #ruby-lang
D9 has joined #ruby-lang
asahi has joined #ruby-lang
Voker57 has joined #ruby-lang
<asahi>
hello, if i have a module with methods defined in it, how can I make a variable available to each of these methods?
sreffotsirk has quit [Quit: ❤]
jacktrick has quit [Quit: Leaving]
davetoxa has quit [Remote host closed the connection]
henrikhodne has joined #ruby-lang
realDAB has quit [Quit: realDAB]
<andrewvos>
asahi: Are you including this module somewhere?
<naquad>
is there something like guard, but more general than with guard? also w/o dozens of stupid dependencies?
mistym has joined #ruby-lang
chris2 has quit [Ping timeout: 260 seconds]
retro|cz has quit [Ping timeout: 264 seconds]
zmike has quit [Read error: Operation timed out]
mbj has quit [Ping timeout: 276 seconds]
symm- has quit [Ping timeout: 264 seconds]
nivanson_ has joined #ruby-lang
nivanson has quit [Read error: Connection reset by peer]
symm- has joined #ruby-lang
rsl has quit [Ping timeout: 268 seconds]
rsl has joined #ruby-lang
bartell has joined #ruby-lang
sdegutis has joined #ruby-lang
<asahi>
andrewvos: yes, i'm including it in a rails app
<asahi>
but it's pretty much a standalone module
krz has quit [Quit: krz]
supki has joined #ruby-lang
nivanson_ has quit [Read error: Connection reset by peer]
nivanson has joined #ruby-lang
publicvoid has quit [Ping timeout: 248 seconds]
yfeldblum has joined #ruby-lang
singpolyma has quit [Ping timeout: 246 seconds]
singpolyma has joined #ruby-lang
amerine has joined #ruby-lang
rsl has quit [Ping timeout: 240 seconds]
rsl has joined #ruby-lang
chris2 has joined #ruby-lang
<manveru>
asahi: just use an instance var?
sstrickl has quit [Read error: No route to host]
rsl has quit [Ping timeout: 264 seconds]
sstrickl has joined #ruby-lang
rsl has joined #ruby-lang
hexreel has quit [Quit: leaving]
skmp has joined #ruby-lang
rippa has quit [Ping timeout: 248 seconds]
<asahi>
manveru: ahh i see. thanks
riotbit has quit [Quit: riotbit]
<sdegutis>
yo
<sdegutis>
if i pass a lambda do a C function to call later, should i do rb_gc_register_address() right away and rb_gc_unregister_address() when im done with it?
xuser has quit [Quit: Lost terminal]
nazty has joined #ruby-lang
Johz has joined #ruby-lang
symm- has quit [Ping timeout: 240 seconds]
marr has quit []
hahuang65 has quit [Ping timeout: 248 seconds]
Mon_Ouie has quit [Read error: No route to host]
Mon_Ouie has joined #ruby-lang
sascha_d has quit [Quit: obai]
sascha_d has joined #ruby-lang
jonahR has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
marr has joined #ruby-lang
maxmanders has quit [Quit: Computer has gone to sleep.]
firstdayonthejob has quit [Ping timeout: 264 seconds]
henrikhodne has quit [Ping timeout: 246 seconds]
mistym has quit [Remote host closed the connection]
<drbrain>
sdegutis: a lambda created from ruby?
<drbrain>
there's no need
<drbrain>
use rb_gc_(un)register_address for things like static VALUE foo; that aren't allocated on the stack and may get lost
<sdegutis>
drbrain: its really a do-end block passed into a c function
<drbrain>
yeah, there's no need, the stack will have a reference to it
<sdegutis>
drbrain: but how will the garbage collector know it still exists when im passing it around my C program internally and then it waits a few hours before getting called?
<drbrain>
a do-end block is not any different than an Array or a String on the stack
<drbrain>
sdegutis: when you allocated it there's a reference on the stack
<drbrain>
same as a String
<sdegutis>
drbrain: oh by stack you mean the C stack?
<drbrain>
the C stack, yes
<sdegutis>
whoa, so the Ruby GC is looking at my C stack?
<drbrain>
yep
<sdegutis>
that seems dirty
<drbrain>
it is
<sdegutis>
btw this is an ObjC program
<drbrain>
I need to run to the store, bbiab
<sdegutis>
do you think thatll affect this?
<drbrain>
shouldn't matter
<sdegutis>
ok
<sdegutis>
thx
<drbrain>
it's all just pointers
<sdegutis>
cya when you get back :)
<sdegutis>
guys, is StringValueCStr the right way to get a c string reliably from a ruby string?
<sdegutis>
it seems reliable but the docs offer a few choices.
Johz has quit [Quit: Leaving]
mbj has joined #ruby-lang
firstdayonthejob has joined #ruby-lang
rondale_sc has quit [Quit: leaving]
workmad3 has joined #ruby-lang
realDAB has joined #ruby-lang
rondale_sc has joined #ruby-lang
realDAB has quit [Client Quit]
vlad_starkov has quit [Remote host closed the connection]
Avatar[01] has quit [Quit: Bye]
D9 has quit [Quit: Leaving]
henrikhodne has joined #ruby-lang
Domon has quit [Ping timeout: 245 seconds]
franckverrot has quit [Ping timeout: 260 seconds]
ndrst has quit [Ping timeout: 264 seconds]
symm- has joined #ruby-lang
franckverrot has joined #ruby-lang
poga has joined #ruby-lang
realDAB has joined #ruby-lang
<drbrain>
sdegutis: to get a null-terminated C string, yes
<drbrain>
it raises a Ruby exception if the source string contains a null byte
<sdegutis>
just in case you're into any of that stuff, thats all.
<drbrain>
I've got my window positioning mostly figured out
eoinkelly has joined #ruby-lang
mosca_ has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chickenflu has quit [Ping timeout: 245 seconds]
vlad_starkov has joined #ruby-lang
Guest72114 has quit [Read error: Connection reset by peer]
Guest72114 has joined #ruby-lang
realDAB has quit [Quit: realDAB]
relix has joined #ruby-lang
hahuang65 has joined #ruby-lang
rippa has joined #ruby-lang
dc5ala has quit [Quit: Ex-Chat]
vlad_starkov has quit [Ping timeout: 240 seconds]
hahuang65 has quit [Ping timeout: 246 seconds]
realDAB has joined #ruby-lang
ndrst has joined #ruby-lang
pipework has quit [Remote host closed the connection]
poga has quit [Remote host closed the connection]
rue has quit [Ping timeout: 248 seconds]
realDAB has quit [Quit: realDAB]
bartell has quit [Remote host closed the connection]
sergiocampama has quit [Quit: sergiocampama]
eoinkelly has quit [Quit: eoinkelly]
eoinkelly has joined #ruby-lang
rue has joined #ruby-lang
pskosinski has joined #ruby-lang
pskosinski has quit [Quit: Til rivido Idisti!]
x0f has quit [Ping timeout: 264 seconds]
x0f has joined #ruby-lang
adambeynon has joined #ruby-lang
adambeynon has quit [Client Quit]
x0f has quit [Read error: Operation timed out]
RickHull has joined #ruby-lang
x0f has joined #ruby-lang
<RickHull>
is there a good way to fold comments in emacs? i am thinking either collapse all multiline comments to the top line, or collapse all comments to nil
<RickHull>
with a toggle, obv
<erikh>
there is, and it supports the {{{ syntax too
<erikh>
BUT, I don't remember how to control it
<RickHull>
yeah i don't want that in my source code
<RickHull>
emacs shit
<erikh>
actually vim can use them too
<RickHull>
just normal # comments
<erikh>
but you don't need to use them to fold
<erikh>
there's probably a M-x describe-* something that can help you find it
rippa has quit [Read error: Connection reset by peer]
x0f has quit [Ping timeout: 264 seconds]
x0f has joined #ruby-lang
joshuawscott has quit [Quit: Leaving.]
Elico has joined #ruby-lang
<Elico>
hey there. I am trying to work with xml file but I am a bit confused..
x0f has quit [Ping timeout: 270 seconds]
cjs226 has quit [Ping timeout: 256 seconds]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
x0f has joined #ruby-lang
pipework has joined #ruby-lang
vlad_starkov has joined #ruby-lang
bartell has joined #ruby-lang
cjs226 has joined #ruby-lang
intellitech has quit [Quit: intellitech]
vlad_starkov has quit [Ping timeout: 264 seconds]
<Boohbah>
can anyone recommend a good webmail application?
tsou has joined #ruby-lang
workmad3 has quit [Ping timeout: 246 seconds]
sergiocampama has joined #ruby-lang
akahn has quit [Ping timeout: 246 seconds]
sdegutis has quit [Remote host closed the connection]
Rylai has quit [Ping timeout: 246 seconds]
prezJFK has joined #ruby-lang
Rylai has joined #ruby-lang
akahn has joined #ruby-lang
iliketurtles has joined #ruby-lang
mosca_ has quit [Ping timeout: 246 seconds]
elia has joined #ruby-lang
sergiocampama has quit [Quit: sergiocampama]
intellitech has joined #ruby-lang
joshuawscott has joined #ruby-lang
sergiocampama has joined #ruby-lang
Domon has joined #ruby-lang
sergiocampama has quit [Quit: sergiocampama]
joshuawscott has quit [Ping timeout: 256 seconds]
_whitelogger has joined #ruby-lang
headius has joined #ruby-lang
bartell_ has joined #ruby-lang
bartell has quit [Read error: Connection reset by peer]
toretore has quit [Ping timeout: 256 seconds]
MaddinXx_ has quit [Remote host closed the connection]
chickenflu has joined #ruby-lang
MaddinXx_ has joined #ruby-lang
prezJFK has quit [Remote host closed the connection]
MaddinXx_ has quit [Remote host closed the connection]
joshuawscott has joined #ruby-lang
glebm has quit [Ping timeout: 256 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
realDAB has joined #ruby-lang
glebm has joined #ruby-lang
toretore has joined #ruby-lang
realDAB has quit [Quit: realDAB]
sdegutis has joined #ruby-lang
sdegutis has joined #ruby-lang
<sdegutis>
Is it possible to obtain the implicit Ruby block from within a C function?
elia has quit [Quit: Computer has gone to sleep.]
hakunin has quit [Read error: Connection reset by peer]
hakunin has joined #ruby-lang
joshuawscott has quit [Quit: Leaving.]
<matti>
manveru: You alive?
<matti>
sdegutis: You mean, you want to be able to create enumerator in C binding?
<matti>
sdegutis: Or do you want a Proc-ish thing in C binding?
<sdegutis>
matti: i want the C equiv of defining the &block param to use within the fn
<sdegutis>
matti: my workaround is: def trampoline *args, &blj \n real_fn(args, blj) \n end
mbj has quit [Quit: leaving]
<sdegutis>
matti: im taking the block and storing it for later, to call in the indefinite future