Sha256: f627e3055b9e7a80813c42499adc0134b0824e07c5b49f87284e5fe93e4b3d78
Contents?: true
Size: 343 Bytes
Versions: 3
Compression:
Stored size: 343 Bytes
Contents
module Inverter module Configuration attr_accessor( :model_class, :template_folders, :excluded_templates ) def configure yield self end def self.extended(base) base.set_default_configuration end def set_default_configuration self.excluded_templates = [] end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
inverter-0.2.7 | lib/inverter/configuration.rb |
inverter-0.2.2 | lib/inverter/configuration.rb |
inverter-0.2.1 | lib/inverter/configuration.rb |