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.



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

def name
  @name
end

#render_blockObject

Returns the value of attribute render_block.



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

def render_block
  @render_block
end

#slugObject

Returns the value of attribute slug.



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

def slug
  @slug
end

Instance Method Details

#render(view, f) ⇒ Object



580
581
582
# File 'lib/configuration.rb', line 580

def render(view, f)
  view.instance_exec(f, &render_block).html_safe
end