Class: ActiveGuide::Result

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(group, name, type = :numeric) ⇒ Result

Returns a new instance of Result.


5
6
7
8
9
# File 'lib/active_guide/result.rb', line 5

def initialize(group, name, type = :numeric)
  @group = group
  @name = name
  @type = type
end

Instance Attribute Details

#groupObject (readonly)

Returns the value of attribute group


3
4
5
# File 'lib/active_guide/result.rb', line 3

def group
  @group
end

#nameObject (readonly)

Returns the value of attribute name


3
4
5
# File 'lib/active_guide/result.rb', line 3

def name
  @name
end

#typeObject (readonly)

Returns the value of attribute type


3
4
5
# File 'lib/active_guide/result.rb', line 3

def type
  @type
end