class Tagregate::File
Public Class Methods
new(step_mother, io, options)
click to toggle source
# File lib/tagregate/file.rb, line 3 def initialize(step_mother, io, options) @io = io @summary = {} end
Public Instance Methods
after_features(whatever)
click to toggle source
# File lib/tagregate/file.rb, line 28 def after_features(whatever) keys = @summary.keys.sort keys.each do |k| @io.puts k @summary[k].each do |file_name| @io.puts "\t-#{file_name}" end @io.puts "\n" end end
before_feature(feature)
click to toggle source
# File lib/tagregate/file.rb, line 8 def before_feature(feature) @current_file = feature.file end