class WebFile
Public Class Methods
new(type)
click to toggle source
# File lib/files.rb, line 23 def initialize(type) @type = type end
Public Instance Methods
eruby()
click to toggle source
# File lib/files.rb, line 33 def eruby @type end
path(settings)
click to toggle source
# File lib/files.rb, line 27 def path(settings) path_split = "CPNYCJK.src.main.webapp.WebContent".split(".") path_split.push(@type, *(settings[:package].split("."))) File.join(*path_split, "#{settings[:name]}.#{@type}") end