Method: RubyStackoverflow::Client::Question#initialize
- Defined in:
- lib/ruby-stackoverflow/client/resource/question.rb
#initialize(attributes_hash = {}) ⇒ Question
Returns a new instance of Question.
5 6 7 8 9 10 |
# File 'lib/ruby-stackoverflow/client/resource/question.rb', line 5 def initialize(attributes_hash={}) @answers = [] @comments = [] @posts = [] super end |