Class: Bio::FlatFile::AutoDetect::RuleSpecial
- Inherits:
-
RuleTemplate
- Object
- RuleTemplate
- Bio::FlatFile::AutoDetect::RuleSpecial
- Defined in:
- lib/bio/io/flatfile.rb
Overview
Special element that is always top or bottom priority.
Instance Attribute Summary
Attributes inherited from RuleTemplate
Instance Method Summary collapse
-
#higher_priority_elements ⇒ Object
always returns void array.
-
#initialize(name) ⇒ RuleSpecial
constructor
A new instance of RuleSpecial.
-
#lower_priority_elements ⇒ Object
always returns void array.
-
#name=(x) ⇒ Object
modification of @name is inhibited.
Methods inherited from RuleTemplate
Constructor Details
#initialize(name) ⇒ RuleSpecial
Returns a new instance of RuleSpecial.
876 877 878 879 |
# File 'lib/bio/io/flatfile.rb', line 876 def initialize(name) #super() @name = name end |
Instance Method Details
#higher_priority_elements ⇒ Object
always returns void array
886 887 888 |
# File 'lib/bio/io/flatfile.rb', line 886 def higher_priority_elements [] end |
#lower_priority_elements ⇒ Object
always returns void array
890 891 892 |
# File 'lib/bio/io/flatfile.rb', line 890 def lower_priority_elements [] end |
#name=(x) ⇒ Object
modification of @name is inhibited.
881 882 883 |
# File 'lib/bio/io/flatfile.rb', line 881 def name=(x) raise 'cannot modify name' end |