Module: MtkHelper

Defined in:
lib/ontomde-core/inspector/rails/app/helpers/mtk_helper.rb

Instance Method Summary collapse

Instance Method Details

#more_begin_if(str, t) ⇒ Object



3
4
5
6
7
8
9
# File 'lib/ontomde-core/inspector/rails/app/helpers/mtk_helper.rb', line 3

def more_begin_if(str,t)
  #return ""
  return "" if !t
  return "<a class=\"hid\" href=\"#more\" onclick=\"this.hideFocus=true\" onblur=\"this.hideFocus=false\"><span>\#{str} &#187;</span><em>\n"
end

#more_end_if(t) ⇒ Object



11
12
13
14
15
16
17
# File 'lib/ontomde-core/inspector/rails/app/helpers/mtk_helper.rb', line 11

def more_end_if(t)
  #return ""
  return "" if !t
  return "</em></a>\n"
end