Sha256: d6b94a7d9c54f8f01f55cab6f58edf7fe2c6393b891cfa6625e3a8a84ddf3113

Contents?: true

Size: 334 Bytes

Versions: 4

Compression:

Stored size: 334 Bytes

Contents

module WhoAmI
  module Function
    class ComputeContent
      include ProcParty

      def call(extracted_class)
        original_content = File.read(extracted_class.model_filepath)
        bare_content = RemoveAnnotation.new.call(original_content)
        extracted_class.computed_content = bare_content
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
who_am_i-0.0.6 lib/who_am_i/function/compute_content.rb
who_am_i-0.0.5 lib/who_am_i/function/compute_content.rb
who_am_i-0.0.4 lib/who_am_i/function/compute_content.rb
who_am_i-0.0.3 lib/who_am_i/function/compute_content.rb