Permalink
Browse files

Autoloading version is cool, actually.

  • Loading branch information...
1 parent a828ab7 commit 8820e24037b0a5a45e71e21fc024b2e697ec5ab3 @sgonyea sgonyea committed Jul 19, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/plucky.rb
View
@@ -6,9 +6,10 @@
require 'plucky/options_hash'
require 'plucky/query'
require 'plucky/pagination'
-require 'plucky/version'
module Plucky
+ autoload :Version, 'plucky/version'
+
# Array of methods that actually perform queries
Methods = [
:where, :filter, :limit, :skip, :offset, :sort, :order,

0 comments on commit 8820e24

Please sign in to comment.