Module: TmSyntaxHighlighting

Defined in:
lib/tm_syntax_highlighting/base.rb

Defined Under Namespace

Modules: Controller, Helper Classes: Config

Class Method Summary collapse

Class Method Details

.defaultsObject



36
37
38
# File 'lib/tm_syntax_highlighting/base.rb', line 36

def self.defaults
  Config
end

.defaults=(options_hash) ⇒ Object



40
41
42
43
44
# File 'lib/tm_syntax_highlighting/base.rb', line 40

def self.defaults=(options_hash)
  options_hash.each do |key, value|
    self.defaults.send("#{key}=", value)
  end
end