Top Level Namespace
Defined Under Namespace
Modules: RubyDaj
Classes: Daj, Reader, Writer
Instance Method Summary
collapse
Instance Method Details
#daj(data = nil) ⇒ Object
5
6
7
|
# File 'lib/ruby-daj/helpers.rb', line 5
def daj(data = nil)
Daj.new(data)
end
|
#extension(filename) ⇒ Object
1
2
3
|
# File 'lib/ruby-daj/helpers.rb', line 1
def extension(filename)
File.extname(filename).gsub('.', '')
end
|