Class: Stupidedi::Editor::ResultSet
- Inherits:
-
Object
- Object
- Stupidedi::Editor::ResultSet
- Includes:
- Inspect
- Defined in:
- lib/stupidedi/editor/result_set.rb
Instance Attribute Summary collapse
- #results ⇒ Array<Result> readonly
Instance Method Summary collapse
- #ak905(*args)
- #ik304(*args)
- #ik403(*args)
- #ik502(*args)
-
#initialize ⇒ ResultSet
constructor
A new instance of ResultSet.
- #stc01(*args)
- #ta105(*args)
- #warn(zipper, message)
Methods included from Inspect
Constructor Details
#initialize ⇒ ResultSet
Returns a new instance of ResultSet.
12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/stupidedi/editor/result_set.rb', line 12 def initialize @results = [] #efault = lambda{|h,z| h[z] = [] } @ta105s = [] # Hash.new(&default) @ak905s = [] # Hash.new(&default) @ik304s = [] # Hash.new(&default) @ik403s = [] # Hash.new(&default) @ik502s = [] # Hash.new(&default) @cscs = [] # Hash.new(&default) @csccs = [] # Hash.new(&default) @eics = [] # Hash.new(&default) @warns = [] end |
Instance Attribute Details
#results ⇒ Array<Result> (readonly)
10 11 12 |
# File 'lib/stupidedi/editor/result_set.rb', line 10 def results @results end |
Instance Method Details
#ak905(*args)
33 34 35 36 37 |
# File 'lib/stupidedi/editor/result_set.rb', line 33 def ak905(*args) result = AK905.new(*args) @results << result @ak905s << result end |
#ik304(*args)
39 40 41 42 43 |
# File 'lib/stupidedi/editor/result_set.rb', line 39 def ik304(*args) result = IK304.new(*args) @results << result @ik304s << result end |
#ik403(*args)
45 46 47 48 49 |
# File 'lib/stupidedi/editor/result_set.rb', line 45 def ik403(*args) result = IK403.new(*args) @results << result @ik403s << result end |
#ik502(*args)
51 52 53 54 55 |
# File 'lib/stupidedi/editor/result_set.rb', line 51 def ik502(*args) result = IK502.new(*args) @results << result @ik502s << result end |
#stc01(*args)
57 58 59 60 61 |
# File 'lib/stupidedi/editor/result_set.rb', line 57 def stc01(*args) # result = ClaimStatus.new(*args) # @results << result # @cscs << result end |