README.md in text_injector-0.0.2 vs README.md in text_injector-0.0.3
- old
+ new
@@ -26,15 +26,10 @@
:identifier => "custom-id",
:file => "/tmp/test.txt",
:content => "added content"
)
injector.run # first run
-
-injector = TextInjector.new(
- :identifier => "custom-id",
- :file => "/tmp/test.txt",
- :content => "updated content"
-)
+injector.content = "updated content"
injector.run # second run
</pre>
Starting /tmp/test.txt file: