lib/pilha/stack_overflow/comment.rb in pilha-0.2.1 vs lib/pilha/stack_overflow/comment.rb in pilha-0.2.2
- old
+ new
@@ -1,10 +1,9 @@
module StackExchange
module StackOverflow
class Comment < Base
- extend Forwardable
- def_delegators :@struct, :comment_id, :creation_date, :owner, :post_id,
+ setup_delegators :@struct, :comment_id, :creation_date, :owner, :post_id,
:post_type, :score, :body
class << self
def find(id, options = {})