Class: Txtblx::Configuration
- Inherits:
-
Object
- Object
- Txtblx::Configuration
- Defined in:
- lib/txtblx/configuration.rb
Instance Attribute Summary collapse
-
#auto_html_block ⇒ Object
Returns the value of attribute auto_html_block.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
- #load_active_admin ⇒ Object
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 9 10 11 |
# File 'lib/txtblx/configuration.rb', line 5 def initialize @auto_html_block = Proc.new do html_escape link :target => "_blank", :rel => "nofollow" simple_format end end |
Instance Attribute Details
#auto_html_block ⇒ Object
Returns the value of attribute auto_html_block.
3 4 5 |
# File 'lib/txtblx/configuration.rb', line 3 def auto_html_block @auto_html_block end |