Sha256: 068ec9c25ba0b516a46fe70c1b8b6f478b96550a843eaa799a9293b2863927c9
Contents?: true
Size: 856 Bytes
Versions: 6
Compression:
Stored size: 856 Bytes
Contents
Comatose.configure do |config| config.admin_title = 'Comatose' config.admin_includes = [] config.admin_helpers = [] config.admin_sub_title = 'The Micro CMS' config.content_type = 'utf-8' config.default_filter = 'None' config.default_processor = :erb config.default_tree_level = 2 config.disable_caching = false config.hidden_meta_fields = [] config.helpers = [] config.includes = [] config.allow_import_export = true end class Hash # Having the method_missing catchall in conjunction with get_binding # allows us to use the hash as a Context for ERB def method_missing(meth, *arg) if self.has_key? meth.to_s self[meth.to_s] else super end end # Gets the binding object for use with ERB def get_binding binding end end
Version data entries
6 entries across 6 versions & 1 rubygems