Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added class stubs

  • Loading branch information...
commit d997ca80f2fa9a9875bc5632e510b0816a5e6ccf 1 parent f79a759
@weavejester authored
View
5 README.markdown
@@ -10,8 +10,9 @@ Usage
require 'password-inquisition'
- Inquisition.check_password("password").strength
+ inquisition = Inquisition::Default.new
+ inquisition.test("password").strength
=> :weak
- Inquisition.check_password("87sfH&xmbds7!sJI").strength
+ inquisition.test("87sfH&xmbds7!sJI").strength
=> :very_strong
View
2  lib/password-inquisition.rb
@@ -0,0 +1,2 @@
+require 'password-inquisition/default'
+require 'password-inquisition/version'
View
7 lib/password-inquisition/base.rb
@@ -0,0 +1,7 @@
+module Inquisition
+ class Base
+ def test(password)
+ nil
+ end
+ end
+end
View
6 lib/password-inquisition/default.rb
@@ -0,0 +1,6 @@
+require 'password-inquisition/base'
+
+module Inquisition
+ class Default < Base
+ end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.