Skip to content
Browse files

corrected singleton method syntax

  • Loading branch information...
1 parent e9a50f1 commit 6e4a3ce7e1eb9c0e7a8dba540938ddc0d29f1926 @scalabl3 committed Feb 15, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/couchbase_settings.rb
  2. +1 −1 lib/couchbase_settings/version.rb
View
2 lib/couchbase_settings.rb
@@ -30,7 +30,7 @@ def create_cbsettings_class(yml_file)
end
# add a method to inspect the entire yml hash
- klass.define_singleton_method("inspect", hash)
+ klass.define_singleton_method("inspect") { hash }
klass.class_eval do
def self.method_missing(method_id,*args)
View
2 lib/couchbase_settings/version.rb
@@ -1,3 +1,3 @@
module CouchbaseSettings
- VERSION = "0.1.2"
+ VERSION = "0.1.3"
end

0 comments on commit 6e4a3ce

Please sign in to comment.
Something went wrong with that request. Please try again.