Class: LibKKC::Segment

Inherits:
Object
  • Object
show all
Defined in:
lib/libkkc_ruby/segment.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#inputObject

Returns the value of attribute input.



3
4
5
# File 'lib/libkkc_ruby/segment.rb', line 3

def input
  @input
end

#outputObject

Returns the value of attribute output.



3
4
5
# File 'lib/libkkc_ruby/segment.rb', line 3

def output
  @output
end