Class: Bio::FlatFileIndex::Indexer::NameSpace

Inherits:
Object
  • Object
show all
Defined in:
lib/bio/io/flatfile/indexer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject (readonly)

Returns the value of attribute name.



22
23
24
# File 'lib/bio/io/flatfile/indexer.rb', line 22

def name
  @name
end

#procObject (readonly)

Returns the value of attribute proc.



22
23
24
# File 'lib/bio/io/flatfile/indexer.rb', line 22

def proc
  @proc
end