Class: FCSParse::FCSParam

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

Overview

Class representing a single parameter and its value in a single event.

Author:

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (FCSParam) initialize(name, description, value, limit)

Create a new parameter with specified information

Parameters:

  • name

    the name of the parameter

  • description

    a longer description of the parameter

  • value

    the value of the parameter

  • limit

    the maximum value that the parameter can take



49
50
51
52
53
54
55
56
# File 'lib/fcsparse/fcsevent.rb', line 49

def initialize(name, description, value, limit)
  
  @name = name
  @description = description
  @value = value
  @limit = limit
  
end

Instance Attribute Details

- (Object) description

Returns the value of attribute description



58
59
60
# File 'lib/fcsparse/fcsevent.rb', line 58

def description
  @description
end

- (Object) limit

Returns the value of attribute limit



58
59
60
# File 'lib/fcsparse/fcsevent.rb', line 58

def limit
  @limit
end

- (Object) name

Returns the value of attribute name



58
59
60
# File 'lib/fcsparse/fcsevent.rb', line 58

def name
  @name
end

- (Object) value

Returns the value of attribute value



58
59
60
# File 'lib/fcsparse/fcsevent.rb', line 58

def value
  @value
end