Sha256: ff154f267c5f54fd39bdd230b6eb83d478d230cd69ad3de3a8180ab69a2a1395
Contents?: true
Size: 696 Bytes
Versions: 2
Compression:
Stored size: 696 Bytes
Contents
require 'chive/version' require 'chive/engine' module Chive def self.setup yield self end class << self attr_writer :user_model def user_model @user_model ||= 'User' end attr_writer :user_pk_attr def user_pk_attr @user_pk_attr ||= 'id' end attr_writer :user_name_attr def user_name_attr @user_name_attr ||= 'name' end attr_writer :anonymous_name def anonymous_name @anonymous_name ||= 'Anonymous' end attr_writer :use_devise def use_devise? @use_devise ||= false end attr_writer :public_layout def public_layout @public_layout ||= 'chive/application' end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
chive-0.1.1 | lib/chive.rb |
chive-0.1.0 | lib/chive.rb |