Class: Formol::Config
- Inherits:
-
Struct
- Object
- Struct
- Formol::Config
- Defined in:
- lib/formol/config.rb
Instance Attribute Summary collapse
-
#current_user_helper_method ⇒ Object
Returns the value of attribute current_user_helper_method.
-
#default_avatar ⇒ Object
Returns the value of attribute default_avatar.
-
#email_from ⇒ Object
Returns the value of attribute email_from.
-
#formatter ⇒ Object
Returns the value of attribute formatter.
-
#text_formatter ⇒ Object
Returns the value of attribute text_formatter.
-
#user_class ⇒ Object
Returns the value of attribute user_class.
Instance Method Summary collapse
Instance Attribute Details
#current_user_helper_method ⇒ Object
Returns the value of attribute current_user_helper_method
2 3 4 |
# File 'lib/formol/config.rb', line 2 def current_user_helper_method @current_user_helper_method end |
#default_avatar ⇒ Object
Returns the value of attribute default_avatar
2 3 4 |
# File 'lib/formol/config.rb', line 2 def default_avatar @default_avatar end |
#email_from ⇒ Object
Returns the value of attribute email_from
2 3 4 |
# File 'lib/formol/config.rb', line 2 def email_from @email_from end |
#formatter ⇒ Object
Returns the value of attribute formatter
2 3 4 |
# File 'lib/formol/config.rb', line 2 def formatter @formatter end |
#text_formatter ⇒ Object
Returns the value of attribute text_formatter
2 3 4 |
# File 'lib/formol/config.rb', line 2 def text_formatter @text_formatter end |
#user_class ⇒ Object
Returns the value of attribute user_class
2 3 4 |
# File 'lib/formol/config.rb', line 2 def user_class @user_class end |
Instance Method Details
#user ⇒ Object
9 10 11 |
# File 'lib/formol/config.rb', line 9 def user @user ||= user_class.constantize end |