Class Prawn::Format::Instructions::TagOpen
In: lib/prawn/format/instructions/tag_open.rb
lib/prawn/format/instructions/tag_open.rb
Parent: Base

Methods

draw   draw   new   new   start_verbatim?   start_verbatim?   style   style   width   width  

Attributes

tag  [R] 
tag  [R] 

Public Class methods

[Source]

    # File lib/prawn/format/instructions/tag_open.rb, line 14
14:         def initialize(state, tag)
15:           super(state)
16:           @tag = tag
17:         end

[Source]

    # File lib/prawn/format/instructions/tag_open.rb, line 14
14:         def initialize(state, tag)
15:           super(state)
16:           @tag = tag
17:         end

Public Instance methods

[Source]

    # 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

[Source]

    # 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

[Source]

    # File lib/prawn/format/instructions/tag_open.rb, line 26
26:         def start_verbatim?
27:           @tag[:style][:white_space] == :pre
28:         end

[Source]

    # File lib/prawn/format/instructions/tag_open.rb, line 26
26:         def start_verbatim?
27:           @tag[:style][:white_space] == :pre
28:         end

[Source]

    # File lib/prawn/format/instructions/tag_open.rb, line 30
30:         def style
31:           @tag[:style]
32:         end

[Source]

    # File lib/prawn/format/instructions/tag_open.rb, line 30
30:         def style
31:           @tag[:style]
32:         end

[Source]

    # File lib/prawn/format/instructions/tag_open.rb, line 34
34:         def width
35:           @state.width
36:         end

[Source]

    # File lib/prawn/format/instructions/tag_open.rb, line 34
34:         def width
35:           @state.width
36:         end

[Validate]