README.txt in contextify-0.1.2 vs README.txt in contextify-0.1.3
- old
+ new
@@ -1,9 +1,10 @@
-= contextify
+= Contextify
* http://contextify.rubyforge.org/
* http://github.com/postmodern/contextify/
+* Postmodern (postmodern.mod3 at gmail.com)
== DESCRIPTION:
Load Objects from Ruby files without having to use YAML or define
classes named like the file.
@@ -15,11 +16,11 @@
include Contextify
contextify :controller
- ...
+ # ...
end
# file: my_controller.rb
controller do
@@ -32,15 +33,21 @@
"Hello #{mesg}"
end
end
+ # load a Controller object from a file.
controller = Controller.load_context('my_controller.rb')
# => #<Controller: ...>
+
controller.test1
# => "This is the first test"
controller.test2('one two three')
# => "Hello one two three"
+
+== REQUIREMENTS:
+
+* {YARD}[http://yard.soen.ca/] >= 0.2.3.5
== INSTALL:
$ sudo gem install contextify