Class: Exceler::Item
- Inherits:
-
Object
- Object
- Exceler::Item
- Defined in:
- lib/exceler.rb
Overview
実施状況を確認するアイテム
Constant Summary collapse
- COMPLETE =
1
- INCOMPLETE =
2
Instance Attribute Summary collapse
-
#assign ⇒ Object
Returns the value of attribute assign.
-
#content ⇒ Object
Returns the value of attribute content.
-
#file ⇒ Object
Returns the value of attribute file.
-
#id ⇒ Object
Returns the value of attribute id.
-
#limit ⇒ Object
Returns the value of attribute limit.
-
#start ⇒ Object
Returns the value of attribute start.
-
#state ⇒ Object
Returns the value of attribute state.
Instance Method Summary collapse
-
#initialize ⇒ Item
constructor
A new instance of Item.
Constructor Details
#initialize ⇒ Item
Returns a new instance of Item.
55 56 57 58 59 60 61 62 63 |
# File 'lib/exceler.rb', line 55 def initialize @file = nil @id = nil @content = nil @state = INCOMPLETE @assign = nil @start = nil @limit = nil end |
Instance Attribute Details
#assign ⇒ Object
Returns the value of attribute assign.
69 70 71 |
# File 'lib/exceler.rb', line 69 def assign @assign end |
#content ⇒ Object
Returns the value of attribute content.
67 68 69 |
# File 'lib/exceler.rb', line 67 def content @content end |
#file ⇒ Object
Returns the value of attribute file.
65 66 67 |
# File 'lib/exceler.rb', line 65 def file @file end |
#id ⇒ Object
Returns the value of attribute id.
66 67 68 |
# File 'lib/exceler.rb', line 66 def id @id end |
#limit ⇒ Object
Returns the value of attribute limit.
71 72 73 |
# File 'lib/exceler.rb', line 71 def limit @limit end |
#start ⇒ Object
Returns the value of attribute start.
70 71 72 |
# File 'lib/exceler.rb', line 70 def start @start end |
#state ⇒ Object
Returns the value of attribute state.
68 69 70 |
# File 'lib/exceler.rb', line 68 def state @state end |