Skip to content
Browse files

Merge pull request #33 from joneslee85/patch-1

Replace tab with 2 spaces
  • Loading branch information...
2 parents 8396abf + 91c172a commit 6fb3fadbc1566a70bdd52faaad170bfcc4fe1d64 @jnunemaker committed
Showing with 8 additions and 8 deletions.
  1. +8 −8 examples/twitter.rb
View
16 examples/twitter.rb
@@ -22,16 +22,16 @@ class Status
element :id, Integer
element :text, String
- element :created_at, Time
- element :source, String
- element :truncated, Boolean
- element :in_reply_to_status_id, Integer
- element :in_reply_to_user_id, Integer
- element :favorited, Boolean
- has_one :user, User
+ element :created_at, Time
+ element :source, String
+ element :truncated, Boolean
+ element :in_reply_to_status_id, Integer
+ element :in_reply_to_user_id, Integer
+ element :favorited, Boolean
+ has_one :user, User
end
statuses = Status.parse(file_contents)
statuses.each do |status|
puts status.user.name, status.user.screen_name, status.text, status.source, ''
-end
+end

0 comments on commit 6fb3fad

Please sign in to comment.
Something went wrong with that request. Please try again.