Class: Hotwire::Spark::DefaultOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/hotwire/spark/default_options.rb

Instance Method Summary collapse

Constructor Details

#initializeDefaultOptions

Returns a new instance of DefaultOptions.



2
3
4
5
6
# File 'lib/hotwire/spark/default_options.rb', line 2

def initialize
  @config = base_options

  build
end

Instance Method Details

#to_hObject



8
9
10
# File 'lib/hotwire/spark/default_options.rb', line 8

def to_h
  @config
end