Class: Exceler::Item

Inherits:
Object
  • Object
show all
Defined in:
lib/exceler.rb

Overview

実施状況を確認するアイテム

Constant Summary collapse

COMPLETE =
1
INCOMPLETE =
2

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeItem

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

#assignObject

Returns the value of attribute assign.



69
70
71
# File 'lib/exceler.rb', line 69

def assign
  @assign
end

#contentObject

Returns the value of attribute content.



67
68
69
# File 'lib/exceler.rb', line 67

def content
  @content
end

#fileObject

Returns the value of attribute file.



65
66
67
# File 'lib/exceler.rb', line 65

def file
  @file
end

#idObject

Returns the value of attribute id.



66
67
68
# File 'lib/exceler.rb', line 66

def id
  @id
end

#limitObject

Returns the value of attribute limit.



71
72
73
# File 'lib/exceler.rb', line 71

def limit
  @limit
end

#startObject

Returns the value of attribute start.



70
71
72
# File 'lib/exceler.rb', line 70

def start
  @start
end

#stateObject

Returns the value of attribute state.



68
69
70
# File 'lib/exceler.rb', line 68

def state
  @state
end