Sha256: e2b64b6301c1ef35b94e892e468e44a169974aeb4d56d9cd4517650583809cf0

Contents?: true

Size: 303 Bytes

Versions: 4

Compression:

Stored size: 303 Bytes

Contents

require "galaxy_converter/version"
require "galaxy_converter/responder"

module GalaxyConverter
  extend self

  def call(path_to_file)
    f = File.expand_path(path_to_file) 
    return unless File.exist?(f)
    notes = Note.from(File.readlines(f).map(&:strip))
    Responder.new(notes).call
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
galaxy_converter-3.1.3 lib/galaxy_converter.rb
galaxy_converter-3.1.2 lib/galaxy_converter.rb
galaxy_converter-3.1.1 lib/galaxy_converter.rb
galaxy_converter-3.0.1 lib/galaxy_converter.rb