Class: Houston::Extensions::ProjectFeatureForm
- Inherits:
-
Object
- Object
- Houston::Extensions::ProjectFeatureForm
- Defined in:
- lib/houston/boot/extensions.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#render_block ⇒ Object
Returns the value of attribute render_block.
-
#slug ⇒ Object
Returns the value of attribute slug.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
230 231 232 |
# File 'lib/houston/boot/extensions.rb', line 230 def name @name end |
#render_block ⇒ Object
Returns the value of attribute render_block.
230 231 232 |
# File 'lib/houston/boot/extensions.rb', line 230 def render_block @render_block end |
#slug ⇒ Object
Returns the value of attribute slug.
230 231 232 |
# File 'lib/houston/boot/extensions.rb', line 230 def slug @slug end |
Instance Method Details
#render(view, f) ⇒ Object
232 233 234 |
# File 'lib/houston/boot/extensions.rb', line 232 def render(view, f) view.instance_exec(f, &render_block).html_safe end |