Class: Houston::ProjectFeatureForm

Inherits:
Object
  • Object
show all
Defined in:
lib/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name.



577
578
579
# File 'lib/configuration.rb', line 577

def name
  @name
end

#render_blockObject

Returns the value of attribute render_block.



577
578
579
# File 'lib/configuration.rb', line 577

def render_block
  @render_block
end

#slugObject

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