Skip to content

Commit

Permalink
Added extensions for blatant monkey patches
Browse files Browse the repository at this point in the history
  • Loading branch information
quirkey committed Jan 12, 2009
1 parent 1188ca4 commit 3a0bdf2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/qcontent.rb
Expand Up @@ -9,5 +9,6 @@ module Qcontent
require 'money'

%w{
extensions
pricing
}.each {|lib| require "qcontent/#{lib}" }
5 changes: 5 additions & 0 deletions lib/qcontent/extensions.rb
@@ -0,0 +1,5 @@
class Money
def to_i
cents
end
end

0 comments on commit 3a0bdf2

Please sign in to comment.