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

- (NameSpace) initialize(name, method)

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

- (Object) name (readonly)

Returns the value of attribute name



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

def name
  @name
end

- (Object) proc (readonly)

Returns the value of attribute proc



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

def proc
  @proc
end