StackOverflow Questions for Tag: refinements

Daniel
Daniel

Reputation: 7172

How to use a refinement to change the output of { now: Time.now }.inspect to be customized?

Score: 1

Views: 177

Answers: 1

Read More
John Bachir
John Bachir

Reputation: 22711

Why does the Rails executor not recognize refinements on Kernel?

Score: 3

Views: 149

Answers: 1

Read More
Linus Oleander
Linus Oleander

Reputation: 18127

Does dynamic dispatching decrease the cyclomatic complexity?

Score: 2

Views: 166

Answers: 1

Read More
23tux
23tux

Reputation: 14726

Configurable refinements in ruby

Score: 0

Views: 73

Answers: 1

Read More
Silvio Mayolo
Silvio Mayolo

Reputation: 70257

Applying refinements to a block

Score: 5

Views: 195

Answers: 0

Read More
Filip Bartuzi
Filip Bartuzi

Reputation: 5931

Testing class which uses refinements with RSpec

Score: 5

Views: 1356

Answers: 1

Read More
Andy
Andy

Reputation: 300

Ruby refinements with instance_eval

Score: 4

Views: 378

Answers: 3

Read More
Michael Hunter
Michael Hunter

Reputation: 414

How can you refine HTTP::Headers.normalize_header?

Score: 1

Views: 101

Answers: 0

Read More
Manuel Jacob
Manuel Jacob

Reputation: 2004

Monkey-patching methods only inside my own code (by automatically using refinements?)

Score: 1

Views: 130

Answers: 1

Read More
max pleaner
max pleaner

Reputation: 26758

Using refinements to patch a core Module such as Kernel

Score: 3

Views: 441

Answers: 2

Read More
user513951
user513951

Reputation: 13612

Why did I get "main.using is permitted only at toplevel" when I used a Refinement in IRB?

Score: 7

Views: 1479

Answers: 1

Read More
abhinavmsra
abhinavmsra

Reputation: 666

NoMethodError when using Refinements in an ActiveRecord Model

Score: 1

Views: 222

Answers: 0

Read More
WPeN2Ic850EU
WPeN2Ic850EU

Reputation: 995

Scoped monkey-patching of a class

Score: 1

Views: 209

Answers: 1

Read More
jrsa
jrsa

Reputation: 145

method added via refinement not visible in rails controller

Score: 1

Views: 237

Answers: 0

Read More
Patrick Brinich-Langlois
Patrick Brinich-Langlois

Reputation: 1429

Why doesn't to_proc work inside Ruby refinements?

Score: 5

Views: 241

Answers: 2

Read More
Jirico
Jirico

Reputation: 1262

How do I use Ruby refinements inside Rails Controller/Action?

Score: 1

Views: 1547

Answers: 2

Read More
arien aein
arien aein

Reputation: 1

Sharepoint Refinement Breadcrumb

Score: 0

Views: 146

Answers: 1

Read More
Amro Abdalla
Amro Abdalla

Reputation: 584

Difference between Refinements and redefine class in ruby

Score: 0

Views: 159

Answers: 1

Read More
kreek
kreek

Reputation: 8834

Refinements and namespaces

Score: 0

Views: 185

Answers: 1

Read More
fabriciofreitag
fabriciofreitag

Reputation: 2883

Refine gem's class method

Score: 4

Views: 400

Answers: 1

Read More
PreviousPage 1Next