Method: BioTable::NumericFilter#method_missing
- Defined in:
- lib/bio-table/filter.rb
#method_missing(m, *args, &block) ⇒ Object
168 169 170 171 172 173 174 175 176 177 178 |
# File 'lib/bio-table/filter.rb', line 168 def method_missing m, *args, &block if @header i = @header.index(m.to_s) if i != nil # p @header,i return @values[i] end raise "Unknown value (can not find column name '#{m}') in list '#{@header}'" end raise "Unknown method '#{m}'" end |