Class: TextLineBuilderContext

Inherits:
Object
  • Object
show all
Defined in:
lib/almirah/doc_items/text_line.rb

Direct Known Subclasses

TextLine

Instance Method Summary collapse

Instance Method Details

#bold(str) ⇒ Object



224
225
226
# File 'lib/almirah/doc_items/text_line.rb', line 224

def bold(str)
  str
end

#bold_and_italic(str) ⇒ Object



228
229
230
# File 'lib/almirah/doc_items/text_line.rb', line 228

def bold_and_italic(str)
  str
end

#inline_code(str) ⇒ Object



232
233
234
# File 'lib/almirah/doc_items/text_line.rb', line 232

def inline_code(str)
  str
end

#italic(str) ⇒ Object



220
221
222
# File 'lib/almirah/doc_items/text_line.rb', line 220

def italic(str)
  str
end


236
237
238
# File 'lib/almirah/doc_items/text_line.rb', line 236

def link(_link_text, link_url)
  link_url
end


240
241
242
# File 'lib/almirah/doc_items/text_line.rb', line 240

def wiki_link(inner)
  "[[#{inner}]]"
end