Class: Palette::Dsl

Inherits:
Object
  • Object
show all
Defined in:
lib/palette/dsl.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.run(&block) ⇒ Object



3
4
5
# File 'lib/palette/dsl.rb', line 3

def self.run(&block)
  new.instance_eval(&block)
end

Instance Method Details

#vim_colors(color_name, &block) ⇒ Object



7
8
9
# File 'lib/palette/dsl.rb', line 7

def vim_colors(color_name, &block)
  Palette::ColorScheme.run(color_name, block)
end