Class: Anydoc::Style

Inherits:
Data
  • Object
show all
Defined in:
lib/anydoc.rb

Instance Attribute Summary collapse

Instance Attribute Details

#boldObject (readonly)

Returns the value of attribute bold

Returns:

  • (Object)

    the current value of bold



14
15
16
# File 'lib/anydoc.rb', line 14

def bold
  @bold
end

#codeObject (readonly)

Returns the value of attribute code

Returns:

  • (Object)

    the current value of code



14
15
16
# File 'lib/anydoc.rb', line 14

def code
  @code
end

#italicObject (readonly)

Returns the value of attribute italic

Returns:

  • (Object)

    the current value of italic



14
15
16
# File 'lib/anydoc.rb', line 14

def italic
  @italic
end

#strikeObject (readonly)

Returns the value of attribute strike

Returns:

  • (Object)

    the current value of strike



14
15
16
# File 'lib/anydoc.rb', line 14

def strike
  @strike
end