Class: Nexmo::Markdown::CodeSnippetRenderer::Swift
- Defined in:
- lib/nexmo_markdown_renderer/services/code_snippet_renderer/swift.rb
Class Method Summary collapse
- .add_instructions(_filename) ⇒ Object
- .create_instructions(filename) ⇒ Object
- .dependencies(_deps) ⇒ Object
- .run_command(_command, _filename, _file_path) ⇒ Object
Methods inherited from Base
Class Method Details
.add_instructions(_filename) ⇒ Object
19 20 21 |
# File 'lib/nexmo_markdown_renderer/services/code_snippet_renderer/swift.rb', line 19 def self.add_instructions(_filename) ::I18n.t('services.code_snippet_renderer.add_instructions_to_code') end |
.create_instructions(filename) ⇒ Object
15 16 17 |
# File 'lib/nexmo_markdown_renderer/services/code_snippet_renderer/swift.rb', line 15 def self.create_instructions(filename) ::I18n.t('services.code_snippet_renderer.create_instructions', filename: filename) end |
.dependencies(_deps) ⇒ Object
5 6 7 8 9 |
# File 'lib/nexmo_markdown_renderer/services/code_snippet_renderer/swift.rb', line 5 def self.dependencies(_deps) { 'text' => 'See <a href="/client-sdk/setup/add-sdk-to-your-app/ios">How to Add the Nexmo Client SDK to your iOS App</a>', } end |
.run_command(_command, _filename, _file_path) ⇒ Object
11 12 13 |
# File 'lib/nexmo_markdown_renderer/services/code_snippet_renderer/swift.rb', line 11 def self.run_command(_command, _filename, _file_path) nil end |