Class: GeoPattern::PatternPreset

Inherits:
Object
  • Object
show all
Defined in:
lib/geo_pattern/pattern_preset.rb

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ PatternPreset


9
10
11
# File 'lib/geo_pattern/pattern_preset.rb', line 9

def initialize(options)
  @options = options
end

Instance Method Details

#update(opts) ⇒ Object


19
20
21
# File 'lib/geo_pattern/pattern_preset.rb', line 19

def update(opts)
  options.merge! opts
end