Method: Windy::Row#method_missing

Defined in:
lib/windy.rb

#method_missing(method, *args, &block) ⇒ Object



278
279
280
281
282
283
284
285
# File 'lib/windy.rb', line 278

def method_missing(method, *args, &block)
  name = method.to_s.gsub('_', ' ')
  if collection.column_index(name)
    self[name]
  else
    super
  end
end