Module: CurbFu::ObjectExtensions::InstanceMethods
- Defined in:
- lib/curb-fu/core_ext.rb
Instance Method Summary collapse
Instance Method Details
#to_param(prefix) ⇒ Object
29 30 31 32 |
# File 'lib/curb-fu/core_ext.rb', line 29 def to_param(prefix) value = CGI::escape(to_s) "#{prefix}=#{value}" end |