class Clayoven::Claytext::Paragraph

A paragraph of text; just a String with additional accessors

Attributes

bookmark[RW]

Another auxiliary field that makes sense in when type is :subheading

olstart[RW]

An auxiliary field for list-numbering; makes sense when type is :olitems

prop[RW]

An auxiliary type-specific information; could be any type

type[RW]

Symbol like :plain or :mathjax

Public Class Methods

new(contents) click to toggle source

Initializes the superclass, and sets type to :plain

Calls superclass method
# File lib/clayoven/claytext.rb, line 22
def initialize(contents)
  super
  @type = :plain
  @prop = :none
end