Class: Bio::FlatFileIndex::Indexer::NameSpace
- Defined in:
- lib/bio/io/flatfile/indexer.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#proc ⇒ Object
readonly
Returns the value of attribute proc.
Instance Method Summary collapse
-
#initialize(name, method) ⇒ NameSpace
constructor
A new instance of NameSpace.
Constructor Details
#initialize(name, method) ⇒ NameSpace
Returns a new instance of NameSpace.
18 19 20 21 |
# File 'lib/bio/io/flatfile/indexer.rb', line 18 def initialize(name, method) @name = name @proc = method end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
22 23 24 |
# File 'lib/bio/io/flatfile/indexer.rb', line 22 def name @name end |
#proc ⇒ Object (readonly)
Returns the value of attribute proc.
22 23 24 |
# File 'lib/bio/io/flatfile/indexer.rb', line 22 def proc @proc end |