Commit 919f6e7993148c0fcf5da40e8965320997fc3305
1 parent
b96610a0
Exists in
master
and in
1 other branch
add example of monkey patch usage
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
lib/rails23_ruby193_fixnum_monkey_patch.rb
1 | 1 | class Fixnum |
2 | 2 | # actionpack-2.3.18/lib/action_controller/assertions/selector_assertions.rb:276 |
3 | 3 | # attempts to get encoding of Fixnum when doing has_tag "foo", :text => 3 |
4 | + # Example: bundle exec spec spec/integration/visitors_spec.rb -e "should return the bounces for a single question" | |
4 | 5 | def encoding |
5 | 6 | Encoding::UTF_8 |
6 | 7 | end | ... | ... |