Module: Represent::BodyHelper
- Defined in:
- lib/represent/body_helper.rb
Instance Method Summary collapse
Instance Method Details
#body_attributes(options = {}) ⇒ Object
11 12 13 14 15 16 |
# File 'lib/represent/body_helper.rb', line 11 def body_attributes( = {}) [:class] = @body_class if @body_class [:id] = @body_id if @body_id end |
#body_class(string) ⇒ Object
7 8 9 |
# File 'lib/represent/body_helper.rb', line 7 def body_class(string) @body_class = string end |
#body_id(string) ⇒ Object
3 4 5 |
# File 'lib/represent/body_helper.rb', line 3 def body_id(string) @body_id = string end |