class ActionIgnoreRepeated
Author: Almudena Bocinos Rioboo
Defines the main methods that are necessary to execute Plugin1
Inherit: Plugin
Public Class Methods
new(start_pos,end_pos)
click to toggle source
Calls superclass method
SeqtrimAction::new
# File lib/seqtrimnext/actions/action_ignore_repeated.rb, line 13 def initialize(start_pos,end_pos) super(start_pos,end_pos) @cut =false end
Public Instance Methods
apply_decoration(char)
click to toggle source
# File lib/seqtrimnext/actions/action_ignore_repeated.rb, line 19 def apply_decoration(char) return char # return char.magenta.negative end