As a side benefit, fix an (non-user-visible) bug in display_s5(). Also fixed a bug where removing orphaned pages did not expire cached summary pages.
13 lines
299 B
Ruby
13 lines
299 B
Ruby
module ActiveSupport #:nodoc:
|
|
module CoreExtensions #:nodoc:
|
|
module String #:nodoc:
|
|
module Behavior
|
|
# Enable more predictable duck-typing on String-like classes. See
|
|
# Object#acts_like?.
|
|
def acts_like_string?
|
|
true
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end |