Class | Prawn::Format::Instructions::TagOpen |
In: |
lib/prawn/format/instructions/tag_open.rb
lib/prawn/format/instructions/tag_open.rb |
Parent: | Base |
tag | [R] | |
tag | [R] |
# File lib/prawn/format/instructions/tag_open.rb, line 14 14: def initialize(state, tag) 15: super(state) 16: @tag = tag 17: end
# File lib/prawn/format/instructions/tag_open.rb, line 14 14: def initialize(state, tag) 15: super(state) 16: @tag = tag 17: end
# File lib/prawn/format/instructions/tag_open.rb, line 19 19: def draw(document, draw_state, options={}) 20: draw_width(document, draw_state) 21: draw_destination(document, draw_state) 22: draw_link(document, draw_state) 23: draw_underline(document, draw_state) 24: end
# File lib/prawn/format/instructions/tag_open.rb, line 19 19: def draw(document, draw_state, options={}) 20: draw_width(document, draw_state) 21: draw_destination(document, draw_state) 22: draw_link(document, draw_state) 23: draw_underline(document, draw_state) 24: end
# File lib/prawn/format/instructions/tag_open.rb, line 26 26: def start_verbatim? 27: @tag[:style][:white_space] == :pre 28: end
# File lib/prawn/format/instructions/tag_open.rb, line 26 26: def start_verbatim? 27: @tag[:style][:white_space] == :pre 28: end