DaRock has quit [Read error: Connection reset by peer]
DaRock has joined #ruby
drincruz has quit [Ping timeout: 240 seconds]
EvilJStoker has quit [Read error: Connection reset by peer]
howdoi has quit [Quit: Connection closed for inactivity]
jetchisel has quit [Ping timeout: 246 seconds]
ChmEarl has quit [Quit: Leaving]
gix has quit [Ping timeout: 260 seconds]
EvilJStoker has joined #ruby
DaRock has quit [Quit: No Ping reply in 180 seconds.]
Rakko has joined #ruby
DaRock has joined #ruby
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DaRock has quit [Quit: No Ping reply in 180 seconds.]
DaRock has joined #ruby
SeepingN has joined #ruby
bruce_lee has quit [Ping timeout: 265 seconds]
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
bruce_lee has joined #ruby
toppo has joined #ruby
DaRock has quit [Read error: Connection reset by peer]
toppo has quit [Remote host closed the connection]
toppo has joined #ruby
DaRock has joined #ruby
Exuma has joined #ruby
Exuma has quit [Client Quit]
wymillerlinux has quit [Ping timeout: 240 seconds]
braincrash has quit [Quit: bye bye]
DaRock_ has joined #ruby
DaRock has quit [Ping timeout: 256 seconds]
braincrash has joined #ruby
Technodrome has quit [Ping timeout: 260 seconds]
DaRock_ has quit [Ping timeout: 240 seconds]
DaRock has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
coniptor has quit [Ping timeout: 240 seconds]
adu has joined #ruby
lucasb has quit [Quit: Connection closed for inactivity]
BSaboia has quit [Quit: This computer has gone to sleep]
coniptor has joined #ruby
toppo has quit [Remote host closed the connection]
toppo has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
rose_nd_ash has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
ajunior has joined #ruby
wallace_mu has joined #ruby
sleetdrop has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
lalitmee has joined #ruby
wallace_mu has quit [Remote host closed the connection]
lalitmee has quit [Remote host closed the connection]
wallace_mu has joined #ruby
lalitmee has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
lalitmee has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
rprimus has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
wallace_mu has joined #ruby
sleetdrop has quit [Read error: Connection reset by peer]
lalitmee has joined #ruby
wallace_mu has quit [Remote host closed the connection]
lalitmee has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
lalitmee has joined #ruby
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
howdoi has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
sleetdrop has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
lalitmee has quit [Remote host closed the connection]
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
roadt__ has quit [Ping timeout: 240 seconds]
lalitmee has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
lalitmee has quit [Remote host closed the connection]
wallace_mu has quit [Remote host closed the connection]
lalitmee has joined #ruby
wallace_mu has joined #ruby
roadt__ has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
lalitmee has quit [Remote host closed the connection]
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
toppo has quit [Remote host closed the connection]
toppo has joined #ruby
rose_nd_ash has quit [Ping timeout: 240 seconds]
toppo has quit [Remote host closed the connection]
toppo has joined #ruby
cb` has quit []
cthu| has quit [Ping timeout: 240 seconds]
ur5us has quit [Ping timeout: 244 seconds]
sleetdrop has quit [Ping timeout: 240 seconds]
skape has quit [Quit: Connection closed for inactivity]
postmodern has quit [Remote host closed the connection]
postmodern has joined #ruby
schne1der has joined #ruby
ajunior has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bocaneri has joined #ruby
prestorium has quit [Quit: prestorium]
nicholaslyang has joined #ruby
mnathani_ has joined #ruby
mnathani has joined #ruby
mnathani_ has quit [Ping timeout: 240 seconds]
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
toppo has left #ruby ["Leaving"]
Rakko has quit [Quit: Leaving]
Itsame1 has joined #ruby
wallace_mu has joined #ruby
cgfbee has quit [Quit: cgfbee]
adu has quit [Quit: adu]
wallace_mu has quit [Ping timeout: 240 seconds]
arzWZM has quit [Ping timeout: 246 seconds]
arzWZM has joined #ruby
dionysus69 has joined #ruby
prestorium has joined #ruby
dionysus69 has quit [Remote host closed the connection]
Itsame1 has quit [Quit: Itsame1]
zapata has quit [Quit: WeeChat 2.9]
rose_nd_ash has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
rose_nd_ash has quit [Ping timeout: 240 seconds]
oddp has joined #ruby
imode has quit [Ping timeout: 256 seconds]
rose_nd_ash has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
edwardly has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
jetchisel has joined #ruby
catphish has quit [Quit: Leaving]
Axy has joined #ruby
Axy has quit [Changing host]
Axy has joined #ruby
schne1der has quit [Ping timeout: 256 seconds]
Mia has quit [Ping timeout: 260 seconds]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
Axy has quit [Ping timeout: 256 seconds]
rose_nd_ash has quit [Remote host closed the connection]
alexherbo24 has joined #ruby
alexherbo24 has quit [Client Quit]
alexherbo2 has joined #ruby
<dostoyevsky>
I would like to write a function like: def breakpoint; Pry.config.output = STDOUT; Pry.config.input = STDIN; binding.pry; end # but I want the prompt not to be inside breakpoint, I want it to be where breakpoint was called...
rose_nd_ash has joined #ruby
rose_nd_ash has quit [Ping timeout: 240 seconds]
rose_nd_ash has joined #ruby
rose_nd_ash has quit [Ping timeout: 240 seconds]
dionysus69 has joined #ruby
Querens has quit [Ping timeout: 264 seconds]
Querens has joined #ruby
rose_nd_ash has joined #ruby
simi[m] has quit [Quit: Idle for 30+ days]
prkn8[m] has quit [Quit: Idle for 30+ days]
Spectari has joined #ruby
Spectari has quit [Quit: Leaving]
zapata has joined #ruby
mikecmpbll has joined #ruby
roadt__ has quit [Ping timeout: 264 seconds]
cnsvc has quit [Ping timeout: 240 seconds]
<al2o3-cr>
the only way i can think of accomplishing that is using multiple binding.pry: def breakpoint; binding.pry(input: STDIN, output: STDOUT) end; then whenever you call `breakpoint` add another binding.pry(...) then in the pry session type `exit` to jump to that binding.
<al2o3-cr>
i can't even test it either.
roadt__ has joined #ruby
hackeron has quit [Remote host closed the connection]
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
Nerium has joined #ruby
<Nerium>
Is there a way to assign an attribute on an object without having to use strings? I.e obj.set(:age, 10)
<Nerium>
*assign a value to an attribute
rose_nd_ash has quit [Remote host closed the connection]
<leftylink>
well, no strings were used in `obj.set(:age, 10)`, so... does the question need to be rephrased?
<Nerium>
leftylink That's sudo code hehe
<Nerium>
Given a generic object, is there no otherway then using obj.send_public("#{key}=", value) ?
rose_nd_ash has joined #ruby
Secret-Fire has quit [Remote host closed the connection]
<leftylink>
ah I see! well... it is possible to use instance_variable_set, which also would not require the use of strings
<leftylink>
I also have initially misunderstood the question and answered too fast; my initial answer must not have made sense. I am sorry about that. I hope my new answer makes sense now
<Nerium>
That also feels like a hack
<Nerium>
abstraction leakage
<Nerium>
does active support have any "cool" features that does this?
rose_nd_ash has quit [Remote host closed the connection]
Secret-Fire has joined #ruby
<leftylink>
hmm, I wonder if it'd be appropriate to take inspiration from how Struct operates. but it would require the ability to either modify or refine the class. basically I am thinking what if one were to write a []= that does the right thing
<Nerium>
hmm, that sounds like a good option
<Nerium>
i'll check the manual in abit
breakfastCat has joined #ruby
rose_nd_ash has joined #ruby
markong has joined #ruby
Secret-Fire has quit [Remote host closed the connection]
Secret-Fire has joined #ruby
rose_nd_ash has quit [Ping timeout: 240 seconds]
markong has quit [Ping timeout: 240 seconds]
markoong has joined #ruby
roadt__ has quit [Ping timeout: 246 seconds]
ellcs has joined #ruby
roadt__ has joined #ruby
wallace_mu has joined #ruby
wallace_mu has quit [Ping timeout: 256 seconds]
arzWZM has quit [Ping timeout: 246 seconds]
arzWZM has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
Rudd0 has quit [Ping timeout: 260 seconds]
Nerium has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rose_nd_ash has joined #ruby
Nerium has joined #ruby
Rudd0 has joined #ruby
schne1der has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
_whitelogger has joined #ruby
postmodern has quit [Quit: Leaving]
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
mikecmpbll has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
ajunior has joined #ruby
mikecmpbll has quit [Quit: inabit.]
drincruz has joined #ruby
wallace_mu has joined #ruby
ajunior has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rose_nd_ash has joined #ruby
mikecmpbll has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
wallace_mu has quit [Ping timeout: 246 seconds]
GodFather has joined #ruby
rose_nd_ash has joined #ruby
drincruz has quit [Ping timeout: 244 seconds]
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
drincruz has joined #ruby
coniptor has quit [Ping timeout: 260 seconds]
skape has joined #ruby
wallace_mu has joined #ruby
breakfastCat has quit [Ping timeout: 240 seconds]
dualfade has quit [Quit: leaving]
coniptor has joined #ruby
BSaboia has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
aesthe has joined #ruby
rose_nd_ash has joined #ruby
lucasb has joined #ruby
ellcs has quit [Ping timeout: 244 seconds]
coniptor has quit [Ping timeout: 256 seconds]
breakfastCat has joined #ruby
cdubo has joined #ruby
ellcs has joined #ruby
coniptor has joined #ruby
rippa has joined #ruby
dfucci has joined #ruby
cdubo has quit [Ping timeout: 240 seconds]
Nerium has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Nerium has joined #ruby
aesthe has quit [Quit: Leaving]
Technodrome has joined #ruby
prestorium has quit [Quit: prestorium]
howdoi has joined #ruby
<adam12>
Nerium: What are you trying to do?
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<adam12>
Oh I see. Nevermind.
jas-at-re has joined #ruby
DaRock has quit [Ping timeout: 240 seconds]
dfucci has quit [Ping timeout: 256 seconds]
dfucci has joined #ruby
dfucci has quit [Ping timeout: 265 seconds]
pgib has quit [Ping timeout: 240 seconds]
orbyt_ has joined #ruby
impermanence has joined #ruby
CrazyEddy has quit [Ping timeout: 265 seconds]
Aderium has quit [Ping timeout: 264 seconds]
rose_nd_ash has quit [Remote host closed the connection]
dfucci has joined #ruby
anemoiac has joined #ruby
thecoffemaker has quit [Ping timeout: 256 seconds]