Class: TermNote::Pane::Console

Inherits:
Object
  • Object
show all
Includes:
TermNote::Pane
Defined in:
lib/termnote/pane/console.rb

Instance Attribute Summary collapse

Attributes included from TermNote::Pane

#height, #rows, #show, #width

Instance Method Summary collapse

Methods included from TermNote::Pane

#call

Constructor Details

#initialize(options) ⇒ Console

Returns a new instance of Console.



8
9
10
# File 'lib/termnote/pane/console.rb', line 8

def initialize(options)
  @binary = options[:binary] || options['binary']
end

Instance Attribute Details

#binaryObject

Returns the value of attribute binary.



6
7
8
# File 'lib/termnote/pane/console.rb', line 6

def binary
  @binary
end