Class: Bio::RestrictionEnzyme::CutSymbol::CutSymbol__
- Inherits:
-
Object
- Object
- Bio::RestrictionEnzyme::CutSymbol::CutSymbol__
- Includes:
- Singleton
- Defined in:
- lib/bio/util/restriction_enzyme/cut_symbol.rb
Overview
Class to keep state
Class Method Summary collapse
Class Method Details
.cut_symbol ⇒ Object
87 |
# File 'lib/bio/util/restriction_enzyme/cut_symbol.rb', line 87 def self.cut_symbol; @cut_symbol; end |
.cut_symbol=(glyph) ⇒ Object
89 90 91 92 |
# File 'lib/bio/util/restriction_enzyme/cut_symbol.rb', line 89 def self.cut_symbol=(glyph); raise ArgumentError if glyph.size != 1 @cut_symbol = glyph end |
.escaped_cut_symbol ⇒ Object
94 |
# File 'lib/bio/util/restriction_enzyme/cut_symbol.rb', line 94 def self.escaped_cut_symbol; "\\" + self.cut_symbol; end |