Class: SimpleCsv::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/simple_csv/base.rb

Direct Known Subclasses

Reader, Transformer, Writer

Constant Summary collapse

COMMON_DELIMITERS =
%w(, ; |).freeze

Instance Attribute Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(mtd, *args, &block) ⇒ Object (private)



60
61
62
# File 'lib/simple_csv/base.rb', line 60

def method_missing(mtd, *args, &block)
  super
end

Instance Attribute Details

#indexObject (readonly)

Returns the value of attribute index.



3
4
5
# File 'lib/simple_csv/base.rb', line 3

def index
  @index
end