Module: Coco::Concerns::AcceptsOptions

Instance Method Summary collapse

Instance Method Details

#accepted_optionsObject

[View source]

18
19
20
# File 'app/components/coco/concerns/accepts_options.rb', line 18

def accepted_options
  @_accepted_options ||= self.class.option_group.clone
end

#get_option_groupObject

[View source]

14
15
16
# File 'app/components/coco/concerns/accepts_options.rb', line 14

def get_option_group(...)
  accepted_options.get_group(...)
end