class Origami::Annotation::Text

Text annotation

Constants

State

Public Instance Methods

pre_build() click to toggle source
Calls superclass method
# File lib/origami/annotations.rb, line 321
def pre_build
    model = self.StateModel
    state = self.State
    
    case model
    when "Marked"
        self.State = "Unmarked" if state.nil?
    when "Review"
        self.State = "None" if state.nil?
    end

    super
end