Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7145ef9

Browse files
committed
Merge pull requestgithub#164 from parndt/patch-1
Updated README.md
2 parentsf99760a +f48a221 commit7145ef9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

‎README.md‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,17 @@ We specify the JSON responses in ruby so that we don't have to write
5353
them by hand all over the docs. You can render the JSON for a resource
5454
like this:
5555

56-
<%= json :issue %>
56+
```erb
57+
<%= json :issue %>
58+
```
5759

5860
This looks up`GitHub::Resources::ISSUE` in`lib/resources.rb`.
5961

6062
Some actions return arrays. You can modify the JSON by passing a block:
6163

62-
<%= json(:issue) { |hash| [hash] } %>
64+
```erb
65+
<%= json(:issue) { |hash| [hash] } %>
66+
```
6367

6468
###Terminal blocks
6569

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp