Module ERB::Util
In: lib/gibberish_db/gibberish_helper.rb

Methods

Public Instance methods

output the gibberish translation with enough information to make it inline editable with some fancy javascript

[Source]

    # File lib/gibberish_db/gibberish_helper.rb, line 4
 4:   def h_with_gibberish_support(s)
 5:     if s.is_a?(Gibberish::Translation)
 6:       s.to_html
 7:     else
 8:       h_without_gibberish_support(s)
 9:     end
10:   end

[Validate]