This commit is contained in:
7
docs/snippets/ruby/getting-started/hello_world.md
Normal file
7
docs/snippets/ruby/getting-started/hello_world.md
Normal file
@@ -0,0 +1,7 @@
|
||||
```ruby title="Ruby"
|
||||
require 'kreuzberg'
|
||||
|
||||
result = Kreuzberg.extract_file_sync('document.pdf')
|
||||
puts "Extracted content:"
|
||||
puts result.content[0...200]
|
||||
```
|
||||
Reference in New Issue
Block a user