Class: Houston::ProjectFeatureForm
- Inherits:
-
Object
- Object
- Houston::ProjectFeatureForm
- Defined in:
- lib/configuration.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.
577 578 579 |
# File 'lib/configuration.rb', line 577 def name @name end |
#render_block ⇒ Object
Returns the value of attribute render_block.
577 578 579 |
# File 'lib/configuration.rb', line 577 def render_block @render_block end |
#slug ⇒ Object
Returns the value of attribute slug.
577 578 579 |
# File 'lib/configuration.rb', line 577 def slug @slug end |
Instance Method Details
#render(view, f) ⇒ Object
579 580 581 |
# File 'lib/configuration.rb', line 579 def render(view, f) view.instance_exec(f, &render_block).html_safe end |