Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

woops

  • Loading branch information...
commit 9c890b7d4543894b5d0ca28080373ed72ad92e66 1 parent 1e266a6
Iain Hecker authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/model_based_html/definition_list.rb
View
4 lib/model_based_html/definition_list.rb
@@ -24,14 +24,14 @@ def dt_and_dd(method_or_value = nil, options = {}, &block)
dt(method_or_value, options)
dd(method_or_value, options, &block)
end
- method_alias :show, :dt_and_dd
+ alias_method :show, :dt_and_dd
# Same as dt_and_dd, but escapes the html in method_or_value.
def dt_and_dd_h(method_or_value = nil, options = {}, &block)
dt(method_or_value, options)
dd_h(method_or_value, options, &block)
end
- method_alias :show_h, :dt_and_dd_h
+ alias_method :show_h, :dt_and_dd_h
end
Please sign in to comment.
Something went wrong with that request. Please try again.