class Mozaic::Configuration
Attributes
es6[RW]
javascripts[RW]
stylesheets[RW]
Public Class Methods
new()
click to toggle source
# File lib/mozaic/configuration.rb, line 18 def initialize @es6 = true @javascripts = 'app/javascript/javascripts' @stylesheets = 'app/javascript/stylesheets' end
Public Instance Methods
define_component(name, options = {})
click to toggle source
# File lib/mozaic/configuration.rb, line 24 def define_component name, options = {} if block_given? Mozaic::Component.new name.to_sym, options, &Proc.new else Mozaic::Component.new name.to_sym, options end end