Class: Swat::UI::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/swat/ui/config.rb

Instance Method Summary collapse

Instance Method Details

#optionsObject



19
20
21
# File 'lib/swat/ui/config.rb', line 19

def options
  @options
end

#options=(opts) ⇒ Object



14
15
16
17
# File 'lib/swat/ui/config.rb', line 14

def options=(opts)
  @options = opts
  Fire.setup(opts)
end

#rspec_config=(conf) ⇒ Object



9
10
11
12
# File 'lib/swat/ui/config.rb', line 9

def rspec_config=(conf)
  conf.extend RspecSetup
  conf.formatter = Swat::UI::RspecSetup::Formatter
end