| Class | Prawn::Format::Instructions::Base |
| In: |
lib/prawn/format/instructions/base.rb
lib/prawn/format/instructions/base.rb |
| Parent: | Object |
| ascent | [R] | |
| ascent | [R] | |
| descent | [R] | |
| descent | [R] | |
| state | [R] | |
| state | [R] |
# File lib/prawn/format/instructions/base.rb, line 10
10: def initialize(state)
11: @state = state
12: state.document.font_size(state.font_size) do
13: @height = state.font.height
14: @ascent = state.font.ascender
15: @descent = state.font.descender
16: end
17: end
# File lib/prawn/format/instructions/base.rb, line 10
10: def initialize(state)
11: @state = state
12: state.document.font_size(state.font_size) do
13: @height = state.font.height
14: @ascent = state.font.ascender
15: @descent = state.font.descender
16: end
17: end
# File lib/prawn/format/instructions/base.rb, line 55
55: def accumulate(list)
56: list.push(self)
57: end
# File lib/prawn/format/instructions/base.rb, line 55
55: def accumulate(list)
56: list.push(self)
57: end