Skip to content

Commit

Permalink
Split LibraOffice into its own file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Empact committed Nov 17, 2014
1 parent b7e018d commit 52d5dd9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/roo.rb
Expand Up @@ -10,7 +10,7 @@ def self.const_missing(const_name)
autoload :Base, 'roo/base'

autoload :OpenOffice, 'roo/openoffice'
autoload :LibreOffice, 'roo/openoffice'
autoload :LibreOffice, 'roo/libre_office'
autoload :Excel, 'roo/excel'
autoload :Excelx, 'roo/excelx'
autoload :Excel2003XML, 'roo/excel2003xml'
Expand Down
5 changes: 5 additions & 0 deletions lib/roo/libre_office.rb
@@ -0,0 +1,5 @@
require 'roo/openoffice'

# LibreOffice is just an alias for Roo::OpenOffice class
class Roo::LibreOffice < Roo::OpenOffice
end
4 changes: 0 additions & 4 deletions lib/roo/openoffice.rb
Expand Up @@ -483,7 +483,3 @@ def attr(node, attr_name)
end
end
end # class

# LibreOffice is just an alias for Roo::OpenOffice class
class Roo::LibreOffice < Roo::OpenOffice
end

0 comments on commit 52d5dd9

Please sign in to comment.