Method: Character::Instance#initialize
- Defined in:
- lib/character/instance.rb
#initialize(name = Instance::DEFAULT_NAME) ⇒ Instance
Returns a new instance of Instance.
23 24 25 26 27 28 29 |
# File 'lib/character/instance.rb', line 23 def initialize(name = Instance::DEFAULT_NAME) @name = name.gsub(' ', '-').downcase @title = 'Character' @user_model = 'Character::User' @development_auto_login = false @force_ssl = true end |