StackOverflow Questions for Tag: ruby-block

bRRRITSCOLD
bRRRITSCOLD

Reputation: 45

Ruby faraday openweathermap api configure block and then conn.get block

Score: 0

Views: 454

Answers: 1

Read More
Jeff Storey
Jeff Storey

Reputation: 57192

Why does Array#each return an array with the same elements?

Score: 24

Views: 24680

Answers: 4

Read More
foo
foo

Reputation: 195

Does `block_given?` render `&block` parameter optional?

Score: 2

Views: 1246

Answers: 2

Read More
ryanpback
ryanpback

Reputation: 285

Pass a method that receives args to another method that takes a block

Score: 1

Views: 658

Answers: 1

Read More
brad
brad

Reputation: 32345

Rails render partial with block

Score: 140

Views: 69743

Answers: 5

Read More
Matt Elhotiby
Matt Elhotiby

Reputation: 44066

Blocks and yields in Ruby

Score: 312

Views: 165652

Answers: 10

Read More
Anand
Anand

Reputation: 3760

How can I chain with_index and with_object on an enumerable in ruby?

Score: 2

Views: 1016

Answers: 4

Read More
user13775669
user13775669

Reputation:

Optional explicit block parameter in Ruby?

Score: 1

Views: 861

Answers: 1

Read More
blueowl
blueowl

Reputation: 35

Unable to set the node attributes within a ruby block

Score: 1

Views: 114

Answers: 0

Read More
v2lrf
v2lrf

Reputation: 331

Get the name of the currently if condition declaration

Score: 1

Views: 155

Answers: 1

Read More
suwa
suwa

Reputation: 117

why pass block arguments to a function in ruby?

Score: 0

Views: 1436

Answers: 1

Read More
psychoslave
psychoslave

Reputation: 3041

Can a Rails helper_method use yield as if it was invoked in the corresponding view?

Score: 0

Views: 153

Answers: 1

Read More
Md. Farhan Memon
Md. Farhan Memon

Reputation: 6121

Ruby block as an array element for splatting in public_send

Score: 2

Views: 318

Answers: 1

Read More
mSourire
mSourire

Reputation: 29

Ruby: how to make variables visible inside methods within a block?

Score: 0

Views: 164

Answers: 1

Read More
ConorSheehan1
ConorSheehan1

Reputation: 1725

Ruby method call using round brackets throwing syntax error

Score: 0

Views: 874

Answers: 3

Read More
Ivan
Ivan

Reputation: 169

Unable to escape dollar sign in ruby_block chef resource

Score: 0

Views: 445

Answers: 1

Read More
Santhosh Nagulanchi
Santhosh Nagulanchi

Reputation: 783

Ruby Blocks inside module or class

Score: 1

Views: 1098

Answers: 1

Read More
Sridhar
Sridhar

Reputation: 813

Chef set node attribute value from a regex matching

Score: 0

Views: 202

Answers: 0

Read More
Maxim Agrigoroae
Maxim Agrigoroae

Reputation: 11

Chef ruby_block ShellOut mysql result stdout forever empty

Score: 1

Views: 519

Answers: 1

Read More
Hosein Zarifi
Hosein Zarifi

Reputation: 69

Require rest-client to module in Chef

Score: 1

Views: 727

Answers: 1

Read More
PreviousPage 1Next