Skip to content

Commit

Permalink
lets not depend on rails sugar
Browse files Browse the repository at this point in the history
  • Loading branch information
eval committed Apr 11, 2011
1 parent 8828636 commit f9f7455
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/csv-omg.rb
Expand Up @@ -95,8 +95,8 @@ def #{name}=(value)

def create_accessor(name)
unless respond_to?('column_names') && column_names.include?(name)
create_getter(name) unless instance_method_names.include?("#{name}")
create_setter(name) unless instance_method_names.include?("#{name}=")
create_getter(name) unless instance_methods.include?("#{name}")
create_setter(name) unless instance_methods.include?("#{name}=")
end
end
end
Expand Down

0 comments on commit f9f7455

Please sign in to comment.