Class: SatoriLikeDictionary::Jump

Inherits:
String
  • Object
show all
Defined in:
lib/satori_like_dictionary.rb

Overview

jump (>)

Instance Method Summary collapse

Instance Method Details

#to_templateString

to template

Returns:

  • (String)

    template



188
189
190
# File 'lib/satori_like_dictionary.rb', line 188

def to_template
  "<%= jump_to('#{self.gsub(/'/) {"\\'"}}') %>"
end