Class: OutputType::Table

Inherits:
Default show all
Defined in:
lib/raka/output_type.rb

Instance Method Summary collapse

Methods inherited from Default

#ext, #file_name

Instance Method Details

#real_name(file_name, scope = '') ⇒ Object



23
24
25
26
# File 'lib/raka/output_type.rb', line 23

def real_name(file_name, scope = '')
	stem = file_name.gsub(/\.table$/, '')
	scope.to_s + (scope.empty? ? '' : '.') + stem
end