Module: Policygen
- Defined in:
- lib/policygen.rb,
lib/policygen/railtie.rb,
lib/policygen/sinatra.rb,
lib/policygen/version.rb,
lib/policygen/renderer.rb,
lib/policygen/css/classes.rb,
lib/policygen/css/tailwind.rb,
lib/policygen/view_helpers.rb,
lib/policygen/configuration.rb,
lib/generators/policygen/install_generator.rb
Overview
Policygen gem namespace
Defined Under Namespace
Modules: Css, Generators, Sinatra, ViewHelpers Classes: Configuration, Error, Railtie, Renderer
Constant Summary collapse
- VERSION =
"0.1.0"
Class Method Summary collapse
-
.config ⇒ Object
Returns Policygen gem configuration.
-
.configure {|Configuration| ... } ⇒ Object
Configures Policygen gem.
Class Method Details
.config ⇒ Object
Returns Policygen gem configuration
10 11 12 |
# File 'lib/policygen.rb', line 10 def self.config @config ||= Configuration.new end |
.configure {|Configuration| ... } ⇒ Object
Configures Policygen gem
21 22 23 |
# File 'lib/policygen.rb', line 21 def self.configure yield config end |