Method: BioTable::NumericFilter#numeric
- Defined in:
- lib/bio-table/filter.rb
#numeric(code, fields) ⇒ Object
157 158 159 160 161 162 163 164 165 166 167 |
# File 'lib/bio-table/filter.rb', line 157 def numeric code, fields values = LazyValues.new(fields) value = values # alias @values = values begin eval(code) rescue Exception $stderr.print "Failed to evaluate ",fields," with ",code,"\n" raise end end |