Method: FeatureMap::Private::AssignmentApplicator.apply_to_html
- Defined in:
- lib/feature_map/private/assignment_applicator.rb
.apply_to_html(file, filepath, feature) ⇒ Object
54 55 56 57 58 59 |
# File 'lib/feature_map/private/assignment_applicator.rb', line 54 def self.apply_to_html(file, filepath, feature) File.open(filepath, 'w') do |f| f.write("<!-- @feature #{feature} -->\n\n") file.each { |line| f.write(line) } end end |