Sha256: 1f01d011278a31536b9a866a072c1ab609fa61d8a42d2ac15e66b9877576fc85
Contents?: true
Size: 928 Bytes
Versions: 10
Compression:
Stored size: 928 Bytes
Contents
# frozen_string_literal: true # Configuration for the BootstrapLeather module module BootstrapLeather def self.configure(configuration = BootstrapLeather::Configuration.new) yield configuration if block_given? @configuration = configuration end def self.configuration @configuration ||= BootstrapLeather::Configuration.new end # Configuration class class Configuration attr_accessor :application_title, :application_description, :application_keywords, :application_path, :application_logo def initialize self.application_logo = '/assets/logo.svg' self.application_path = '/' self.application_title = 'Run the Generator, Config and Restart' self.application_description = 'Try it, very easy. `rails g '\ 'bootstrap_leather:install` is the generator command.' self.application_keywords = 'Then, fix, your, config, file' end end end
Version data entries
10 entries across 10 versions & 1 rubygems