This commit is contained in:
@@ -3,11 +3,12 @@
|
||||
module Ezdoc
|
||||
module Nodes
|
||||
class Paragraph < Base
|
||||
attr_reader :runs
|
||||
attr_reader :runs, :style
|
||||
|
||||
def initialize(runs = [])
|
||||
def initialize(runs = [], style: nil)
|
||||
super()
|
||||
@runs = runs
|
||||
@style = style
|
||||
end
|
||||
|
||||
def add_run(run)
|
||||
|
||||
Reference in New Issue
Block a user