Class: Curvature::Sample

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(params = {}) ⇒ Sample

Returns a new instance of Sample.



10
11
12
13
# File 'lib/curvature/sample.rb', line 10

def initialize(params={})
  {
  }.merge(params).each { |k, v| send("#{k}=", v) }
end

Instance Attribute Details

#attributesObject

Returns the value of attribute attributes.



8
9
10
# File 'lib/curvature/sample.rb', line 8

def attributes
  @attributes
end

#inputObject

Returns the value of attribute input.



6
7
8
# File 'lib/curvature/sample.rb', line 6

def input
  @input
end

#labelObject

Returns the value of attribute label.



5
6
7
# File 'lib/curvature/sample.rb', line 5

def label
  @label
end

#outputObject

Returns the value of attribute output.



7
8
9
# File 'lib/curvature/sample.rb', line 7

def output
  @output
end