Skip to content

Commit

Permalink
Remove needless function
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Jul 10, 2014
1 parent c6fd85c commit 8153f41
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions bin/grn2drn
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,6 @@ convert_options = {
}
converter = Grn2Drn::CommandConverter.new(convert_options)

def open_input(source_file)
if source_file.nil?
yield($stdin)
else
File.open(source_file) do |input|
yield(input)
end
end
end

def open_output(path)
if path == "-"
yield($stdout)
Expand Down

0 comments on commit 8153f41

Please sign in to comment.