Class: Maimailog::Data::Detail

Inherits:
Object
  • Object
show all
Defined in:
lib/maimailog/data/detail.rb

Overview

詳細データ

Defined Under Namespace

Classes: Judge, Score

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDetail

Returns a new instance of Detail.



55
56
57
58
59
60
61
# File 'lib/maimailog/data/detail.rb', line 55

def initialize
  @date = nil
  @difficulty = nil
  @name = nil
  @judge = Judge.new
  @score = Score.new
end

Instance Attribute Details

#dateObject

Returns the value of attribute date.



7
8
9
# File 'lib/maimailog/data/detail.rb', line 7

def date
  @date
end

#difficultyObject

Returns the value of attribute difficulty.



7
8
9
# File 'lib/maimailog/data/detail.rb', line 7

def difficulty
  @difficulty
end

#judgeObject

Returns the value of attribute judge.



7
8
9
# File 'lib/maimailog/data/detail.rb', line 7

def judge
  @judge
end

#nameObject

Returns the value of attribute name.



7
8
9
# File 'lib/maimailog/data/detail.rb', line 7

def name
  @name
end

#scoreObject

Returns the value of attribute score.



7
8
9
# File 'lib/maimailog/data/detail.rb', line 7

def score
  @score
end