class Docks::Themes::API
Public Class Methods
new()
click to toggle source
# File lib/docks_theme_api/theme.rb, line 10 def initialize project_root = Pathname.new(File.expand_path("../../../", __FILE__)) @assets = Assets.new(root: project_root + "assets", source_root: project_root + "source") @helpers = [Helpers] end
Public Instance Methods
configure(config)
click to toggle source
# File lib/docks_theme_api/theme.rb, line 16 def configure(config) config.paginate = "pattern" end