class Renee class Core ## # Stores configuration settings for a particular Renee application. # Powers the Renee setup block which is instance eval'ed into this object. # # @example # Renee::Core.new { ... }.setup { views_path "./views" } # class Settings attr_reader :includes def initialize @includes = [] end # Get or sets the views_path for an application. # # @param [String] path The path to the view files. # # @example # views_path("./views") => nil # views_path => "./views" # # @api public def views_path(path = nil) path ? @views_path = path : @views_path end def include(mod) includes << mod end end end end