Class: LibKKC::Segment
- Inherits:
-
Object
- Object
- LibKKC::Segment
- Defined in:
- lib/libkkc_ruby/segment.rb
Instance Attribute Summary collapse
-
#input ⇒ Object
Returns the value of attribute input.
-
#output ⇒ Object
Returns the value of attribute output.
Instance Method Summary collapse
-
#initialize(output, input) ⇒ Segment
constructor
A new instance of Segment.
Constructor Details
#initialize(output, input) ⇒ Segment
Returns a new instance of Segment.
5 6 7 8 |
# File 'lib/libkkc_ruby/segment.rb', line 5 def initialize(output, input) @output = output @input = input end |
Instance Attribute Details
#input ⇒ Object
Returns the value of attribute input.
3 4 5 |
# File 'lib/libkkc_ruby/segment.rb', line 3 def input @input end |
#output ⇒ Object
Returns the value of attribute output.
3 4 5 |
# File 'lib/libkkc_ruby/segment.rb', line 3 def output @output end |