Class: OutputType::Table
Instance Method Summary collapse
Methods inherited from Default
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 |