Method: Webby.path

Defined in:
lib/webby.rb

.path(*args) ⇒ Object

Returns the path for Webby. If any arguments are given, they will be joined to the end of the path using File.join.



87
88
89
# File 'lib/webby.rb', line 87

def self.path( *args )
  args.empty? ? PATH : ::File.join(PATH, args.flatten)
end