Sha256: 9246c0976ff036800b6e3de148639c38c1a7d51d78304a0a670c7ffe41ee1125
Contents?: true
Size: 331 Bytes
Versions: 2
Compression:
Stored size: 331 Bytes
Contents
module Insightful module BodyHelper def body_id(string) @body_id = string end def body_class(string) @body_class = string end def body_attributes(options = {}) options[:class] = @body_class if @body_class options[:id] = @body_id if @body_id options end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
insightful-0.0.1.6 | lib/insightful/body_helper.rb |
insightful-0.0.1.5 | lib/insightful/body_helper.rb |