class TextEditor::Configuration
Attributes
default_flavor[RW]
files[RW]
Public Instance Methods
config()
click to toggle source
# File lib/text_editor/configuration.rb 7 def config 8 self 9 end
flavor(name, &block)
click to toggle source
# File lib/text_editor/configuration.rb 11 def flavor(name, &block) 12 editor.flavors[name] = Flavor.new(name, &block) 13 end
log()
click to toggle source
# File lib/text_editor/configuration.rb 15 def log 16 @log ||= Log.new 17 end
tab()
click to toggle source
# File lib/text_editor/configuration.rb 19 def tab 20 @tab ||= Tab.new 21 end