Module: Datafile
- Defined in:
- lib/datafile/builder.rb,
lib/datafile/version.rb,
lib/datafile/datafile.rb,
lib/datafile/datasets/beer.rb,
lib/datafile/datasets/world.rb,
lib/datafile/datasets/dataset.rb,
lib/datafile/datasets/football.rb
Defined Under Namespace
Classes: BeerDataset, Builder, Datafile, Dataset, FootballDataset, WorldDataset
Constant Summary
collapse
- MAJOR =
todo: namespace inside version or something - why? why not??
0
- MINOR =
1
- PATCH =
1
- VERSION =
[MAJOR,MINOR,PATCH].join('.')
Class Method Summary
collapse
Class Method Details
.banner ⇒ Object
14
15
16
|
# File 'lib/datafile/version.rb', line 14
def self.banner
"datafile/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
end
|
.root ⇒ Object
18
19
20
|
# File 'lib/datafile/version.rb', line 18
def self.root
"#{File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )}"
end
|
.version ⇒ Object
10
11
12
|
# File 'lib/datafile/version.rb', line 10
def self.version
VERSION
end
|