Class: ActionLeftPrimer
- Inherits:
-
SeqtrimAction
- Object
- SeqtrimAction
- ActionLeftPrimer
- Defined in:
- lib/seqtrimnext/actions/action_left_primer.rb
Instance Attribute Summary
Attributes inherited from SeqtrimAction
#cut, #end_pos, #found_definition, #informative, #left_action, #message, #reversed, #right_action, #start_pos, #tag_id
Instance Method Summary collapse
- #apply_decoration(char) ⇒ Object
-
#initialize(start_pos, end_pos) ⇒ ActionLeftPrimer
constructor
A new instance of ActionLeftPrimer.
Methods inherited from SeqtrimAction
#action_type, #apply_to, #contains?, #contains_action?, #decorate, #description, #inspect, #left_action?, #near_left?, #right_action?, #title, #to_hash, #to_human, #type
Constructor Details
#initialize(start_pos, end_pos) ⇒ ActionLeftPrimer
Returns a new instance of ActionLeftPrimer.
6 7 8 9 10 |
# File 'lib/seqtrimnext/actions/action_left_primer.rb', line 6 def initialize(start_pos,end_pos) super(start_pos,end_pos) @cut =true end |
Instance Method Details
#apply_decoration(char) ⇒ Object
12 13 14 |
# File 'lib/seqtrimnext/actions/action_left_primer.rb', line 12 def apply_decoration(char) return char.blue.underline end |