1. Richo Healey
  2. twat

Commits

Richo Healey  committed 7e5b784

This should be enough scaffold to let the new configure work

(Even if it is in the wrong place, probably stick this in config long
term

  • Participants
  • Parent commits 9509398
  • Branches master

Comments (0)

Files changed (1)

File lib/twat.rb

View file
  • Ignore whitespace
         puts "twat -a #{opts[:account]}"
       end
     end
+
+    # Stuff these off into a seperate piece of code somewhere
+    def configure(&block)
+      yield config
+
+      # If I understand correctly, I can check over what's
+      # happened here?
+    end
+
+    def config
+      @config ||= Config.new
+    end
+
   end
 end