vendor/assets/application/examples/code.rb in atome-0.5.7.6.0 vs vendor/assets/application/examples/code.rb in atome-0.5.7.6.5
- old
+ new
@@ -6,5 +6,23 @@
end
wait 1 do
a.run(:hello)
end
+
+def api_infos
+ {
+ "example": "Purpose of the example",
+ "methods_found": [
+ "code",
+ "run"
+ ],
+ "code": {
+ "aim": "The `code` method's purpose is determined by its specific functionality.",
+ "usage": "Refer to Atome documentation for detailed usage of `code`."
+ },
+ "run": {
+ "aim": "The `run` method's purpose is determined by its specific functionality.",
+ "usage": "Refer to Atome documentation for detailed usage of `run`."
+ }
+}
+end