Module: Values

Defined in:
lib/csv11.rb,
lib/csv11/version.rb

Defined Under Namespace

Classes: Parser

Constant Summary collapse

MAJOR =

todo: namespace inside version or something - why? why not??

0
MINOR =
0
PATCH =
3
VERSION =
[MAJOR,MINOR,PATCH].join('.')

Class Method Summary collapse

Class Method Details



13
14
15
# File 'lib/csv11/version.rb', line 13

def self.banner
  "csv11/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
end

.rootObject



17
18
19
# File 'lib/csv11/version.rb', line 17

def self.root
  "#{File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )}"
end

.split(line) ⇒ Object



248
249
250
251
# File 'lib/csv11.rb', line 248

def self.split( line )
  parser = Parser.new
  parser.parse( line )
end

.versionObject



9
10
11
# File 'lib/csv11/version.rb', line 9

def self.version
  VERSION
end