class Amun::MajorModes::Fundamental
Basic mode with emacs defaults
Attributes
buffer[RW]
Public Class Methods
new(buffer)
click to toggle source
Calls superclass method
# File lib/amun/major_modes/fundamental.rb, line 11 def initialize(buffer) super() self.buffer = buffer emacs_behaviour_initialize read_io if buffer.empty? end
Private Instance Methods
read_io()
click to toggle source
# File lib/amun/major_modes/fundamental.rb, line 23 def read_io buffer << buffer.io.read end