Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
autoloading script
  • Loading branch information
guilhermesilveira committed Oct 24, 2010
1 parent e5dc14b commit 3c265d3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/restfulie/common/converter.rb
@@ -1,10 +1,7 @@
module Restfulie
module Common
module Converter
autoload :Values, 'restfulie/common/converter/values'
autoload :Atom, 'restfulie/common/converter/atom'
autoload :Json, 'restfulie/common/converter/json'
autoload :Xml, 'restfulie/common/converter/xml'
Dir["#{File.dirname(__FILE__)}/converter/*.rb"].each {|f| autoload File.basename(f)[0..-4].camelize.to_sym, f }

# Returns the default root element name for an item or collection
def self.root_element_for(obj)
Expand Down

0 comments on commit 3c265d3

Please sign in to comment.